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

Tuple Fields of Id

0: String
Label

The engine label

Tuple Fields of Label

0: String
Membership

Tuple Fields of Membership

0: Membership
Name

Tuple Fields of Name

0: String
NodeLabel

Tuple Fields of NodeLabel

0: String
Role

Tuple Fields of Role

0: NodeRole

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.