pub enum ContainerListFilter {
Show 16 variants Ancestor(ImageOpt), Before(String), Expose(String), Exited(i32), Health(ContainerHealth), Id(Id), IsTask(bool), LabelKey(String), LabelKeyVal(StringString), Name(String), Network(String), Pod(String), Publish(String), Since(String), Status(ContainerStatus), Volume(String),
}
Expand description

Used to filter listed containers by one of the variants.

Variants

Ancestor(ImageOpt)

Images that are ancestors.

Before(String)

Container ID or name

Expose(String)

[/] or /[]

Exited(i32)

Containers with exit code of

Health(ContainerHealth)

Id(Id)

A container’s ID

IsTask(bool)

LabelKey(String)

Container key label.

LabelKeyVal(StringString)

Container key-value label.

Name(String)

A container’s name

Network(String)

Network ID or name

Pod(String)

Pod ID or name

Publish(String)

[/] or /[]

Since(String)

Container ID or name

Status(ContainerStatus)

Volume(String)

Volume name or mount point destination

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more