Enum docker_api::api::node::opts::NodeFilter [−][src]
pub enum NodeFilter {
Id(String),
Label(String),
Membership(Membership),
Name(String),
NodeLabel(String),
Role(NodeRole),
}This is supported on crate feature
swarm only.Expand description
Filter type used to filter nodes by one of the variants.
Variants
Id(String)
Tuple Fields
0: StringLabel(String)
Tuple Fields
0: StringThe engine label
Membership(Membership)
Tuple Fields
0: MembershipName(String)
Tuple Fields
0: StringNodeLabel(String)
Tuple Fields
0: StringRole(NodeRole)
Tuple Fields
0: NodeRoleAuto Trait Implementations
impl RefUnwindSafe for NodeFilter
impl Send for NodeFilter
impl Sync for NodeFilter
impl Unpin for NodeFilter
impl UnwindSafe for NodeFilter
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