Enum docker_api::api::task::opts::TaskFilter[][src]

pub enum TaskFilter {
    DesiredState(TaskStateFilter),
    Id(String),
    LabelKey(String),
    Label(String, String),
    Name(String),
    Node(String),
    Service(String),
}
This is supported on crate feature swarm only.

Variants

DesiredState

The state that the task should be in.

Tuple Fields of DesiredState

0: TaskStateFilter
Id

The ID of the config.

Tuple Fields of Id

0: String
LabelKey

Label in the form of label=key

Tuple Fields of LabelKey

0: String
Label

Label in the form of label=key=val

Tuple Fields of Label

0: String1: String
Name

The name of the config.

Tuple Fields of Name

0: String
Node

Name of the node.

Tuple Fields of Node

0: String
Service

Name of the service.

Tuple Fields of Service

0: String

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

Performs the conversion.

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

Performs the conversion.

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.