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 of Id
0: StringLabel(String)The engine label
Tuple Fields of Label
0: StringMembership(Membership)Tuple Fields of Membership
0: MembershipName(String)Tuple Fields of Name
0: StringNodeLabel(String)Tuple Fields of NodeLabel
0: StringRole(NodeRole)Tuple Fields of Role
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