pub struct ContainerList<'a> {
    pub all: Option<bool>,
    pub external: Option<bool>,
    pub limit: Option<i64>,
    pub size: Option<bool>,
    pub filters: Option<&'a str>,
}Available on crate feature 
v5 only.Fields§
§all: Option<bool>Return all containers. By default, only running containers are shown
external: Option<bool>Return containers in storage not controlled by Podman
limit: Option<i64>Return this number of most recently created containers, including non-running ones.
size: Option<bool>Return the size of container as fields SizeRw and SizeRootFs.
filters: Option<&'a str>A JSON encoded value of the filters (a map[string][]string) to process on the containers list. Available filters:
- ancestor=(- <image-name>[:<tag>],- <image id>, or- <image@digest>)
- before=(- <container id>or- <container name>)
- expose=(- <port>[/<proto>]or- <startport-endport>/[<proto>])
- exited=<int>containers with exit code of- <int>
- health=(- starting,- healthy,- unhealthyor- none)
- id=<ID>a container’s ID
- is-task=(- trueor- false)
- label=(- keyor- "key=value") of a container label
- name=<name>a container’s name
- network=(- <network id>or- <network name>)
- publish=(- <port>[/<proto>]or- <startport-endport>/[<proto>])
- since=(- <container id>or- <container name>)
- status=(- created,- restarting,- running,- removing,- paused,- exitedor- dead)
- volume=(- <volume name>or- <mount point destination>)
Trait Implementations§
Source§impl<'a> Debug for ContainerList<'a>
 
impl<'a> Debug for ContainerList<'a>
Source§impl<'a> Default for ContainerList<'a>
 
impl<'a> Default for ContainerList<'a>
Source§fn default() -> ContainerList<'a>
 
fn default() -> ContainerList<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for ContainerList<'a>
impl<'a> RefUnwindSafe for ContainerList<'a>
impl<'a> Send for ContainerList<'a>
impl<'a> Sync for ContainerList<'a>
impl<'a> Unpin for ContainerList<'a>
impl<'a> UnwindSafe for ContainerList<'a>
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