pub struct ContainerSummary {
pub host: HostId,
pub topology_revision: TopologyRevision,
pub id: Option<String>,
pub names: Vec<String>,
pub image: Option<String>,
pub image_id: Option<String>,
pub command: Option<String>,
pub created_unix_seconds: Option<i64>,
pub state: ContainerState,
pub status: Option<String>,
pub labels: BTreeMap<String, String>,
}Expand description
Neutral Docker container summary.
Fields§
§host: HostIdTarget host.
topology_revision: TopologyRevisionExact topology revision.
id: Option<String>Container ID.
names: Vec<String>Container names without Docker’s leading slash normalization requirement.
image: Option<String>Configured image reference.
image_id: Option<String>Image content ID.
command: Option<String>Configured command.
created_unix_seconds: Option<i64>Creation time in Unix seconds.
state: ContainerStateRuntime state.
status: Option<String>Engine status text.
labels: BTreeMap<String, String>Container labels.
Trait Implementations§
Source§impl Clone for ContainerSummary
impl Clone for ContainerSummary
Source§fn clone(&self) -> ContainerSummary
fn clone(&self) -> ContainerSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContainerSummary
impl Debug for ContainerSummary
Source§impl<'de> Deserialize<'de> for ContainerSummary
impl<'de> Deserialize<'de> for ContainerSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ContainerSummary
impl PartialEq for ContainerSummary
Source§fn eq(&self, other: &ContainerSummary) -> bool
fn eq(&self, other: &ContainerSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContainerSummary
impl Serialize for ContainerSummary
impl Eq for ContainerSummary
impl StructuralPartialEq for ContainerSummary
Auto Trait Implementations§
impl Freeze for ContainerSummary
impl RefUnwindSafe for ContainerSummary
impl Send for ContainerSummary
impl Sync for ContainerSummary
impl Unpin for ContainerSummary
impl UnsafeUnpin for ContainerSummary
impl UnwindSafe for ContainerSummary
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.