pub struct ContainerListOptions {
pub all: bool,
pub state: Option<ContainerState>,
pub label: Option<String>,
}Expand description
Closed container-list options.
Fields§
§all: boolInclude stopped containers.
state: Option<ContainerState>Optional exact runtime-state filter.
label: Option<String>Optional Docker label selector.
Trait Implementations§
Source§impl Clone for ContainerListOptions
impl Clone for ContainerListOptions
Source§fn clone(&self) -> ContainerListOptions
fn clone(&self) -> ContainerListOptions
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 ContainerListOptions
impl Debug for ContainerListOptions
Source§impl Default for ContainerListOptions
impl Default for ContainerListOptions
Source§impl<'de> Deserialize<'de> for ContainerListOptions
impl<'de> Deserialize<'de> for ContainerListOptions
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 ContainerListOptions
impl PartialEq for ContainerListOptions
Source§fn eq(&self, other: &ContainerListOptions) -> bool
fn eq(&self, other: &ContainerListOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContainerListOptions
impl Serialize for ContainerListOptions
impl Eq for ContainerListOptions
impl StructuralPartialEq for ContainerListOptions
Auto Trait Implementations§
impl Freeze for ContainerListOptions
impl RefUnwindSafe for ContainerListOptions
impl Send for ContainerListOptions
impl Sync for ContainerListOptions
impl Unpin for ContainerListOptions
impl UnsafeUnpin for ContainerListOptions
impl UnwindSafe for ContainerListOptions
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.