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)
The state that the task should be in.
Tuple Fields of DesiredState
Id(String)
The ID of the config.
Tuple Fields of Id
0: String
LabelKey(String)
Label in the form of label=key
Tuple Fields of LabelKey
0: String
Label in the form of label=key=val
Name(String)
The name of the config.
Tuple Fields of Name
0: String
Node(String)
Name of the node.
Tuple Fields of Node
0: String
Service(String)
Name of the service.
Tuple Fields of Service
0: String
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