pub struct ContainerListing {
pub runtime: ContainerRuntime,
pub engine_version: Option<String>,
pub containers: Vec<ContainerInfo>,
}Expand description
Parsed result of a container listing command. engine_version is the
daemon’s Server.Version (best-effort, None when the version sub-call
failed or the remote runtime predates the engine sentinel).
Fields§
§runtime: ContainerRuntime§engine_version: Option<String>§containers: Vec<ContainerInfo>Trait Implementations§
Source§impl Clone for ContainerListing
impl Clone for ContainerListing
Source§fn clone(&self) -> ContainerListing
fn clone(&self) -> ContainerListing
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 ContainerListing
impl Debug for ContainerListing
Source§impl PartialEq for ContainerListing
impl PartialEq for ContainerListing
Source§fn eq(&self, other: &ContainerListing) -> bool
fn eq(&self, other: &ContainerListing) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ContainerListing
Auto Trait Implementations§
impl Freeze for ContainerListing
impl RefUnwindSafe for ContainerListing
impl Send for ContainerListing
impl Sync for ContainerListing
impl Unpin for ContainerListing
impl UnsafeUnpin for ContainerListing
impl UnwindSafe for ContainerListing
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more