pub struct ListContainersOptions {
pub all: bool,
pub limit: Option<isize>,
pub size: bool,
pub filters: HashMap<String, Vec<String>>,
}Fields§
§all: boolReturn all containers. By default, only running containers are shown
limit: Option<isize>Return this number of most recently created containers, including non-running ones
size: boolReturn the size of container as fields SizeRw and SizeRootFs
filters: HashMap<String, Vec<String>>See Docker’s documentation to learn how to use filters https://docs.docker.com/reference/cli/docker/container/ls/#filter
Trait Implementations§
Source§impl Clone for ListContainersOptions
impl Clone for ListContainersOptions
Source§fn clone(&self) -> ListContainersOptions
fn clone(&self) -> ListContainersOptions
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 ListContainersOptions
impl Debug for ListContainersOptions
Source§impl Default for ListContainersOptions
impl Default for ListContainersOptions
Source§fn default() -> ListContainersOptions
fn default() -> ListContainersOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListContainersOptions
impl PartialEq for ListContainersOptions
Source§fn eq(&self, other: &ListContainersOptions) -> bool
fn eq(&self, other: &ListContainersOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ListContainersOptions
impl Serialize for ListContainersOptions
impl StructuralPartialEq for ListContainersOptions
Auto Trait Implementations§
impl Freeze for ListContainersOptions
impl RefUnwindSafe for ListContainersOptions
impl Send for ListContainersOptions
impl Sync for ListContainersOptions
impl Unpin for ListContainersOptions
impl UnsafeUnpin for ListContainersOptions
impl UnwindSafe for ListContainersOptions
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