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(TaskStateFilter)
Tuple Fields
The state that the task should be in.
Id(String)
Tuple Fields
0: StringThe ID of the config.
LabelKey(String)
Tuple Fields
0: StringLabel in the form of label=key
Label(String, String)
Label in the form of label=key=val
Name(String)
Tuple Fields
0: StringThe name of the config.
Node(String)
Tuple Fields
0: StringName of the node.
Service(String)
Tuple Fields
0: StringName of the service.
Auto Trait Implementations
impl RefUnwindSafe for TaskFilter
impl Send for TaskFilter
impl Sync for TaskFilter
impl Unpin for TaskFilter
impl UnwindSafe for TaskFilter
Blanket Implementations
Mutably borrows from an owned value. Read more
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
