pub enum NodeFilter {
Show 21 variants
Marker(String),
Limit(usize),
SortKey(NodeSortKey),
SortDir(SortDir),
Associated(bool),
ChassisID(String),
DescriptionContains(String),
ConductorGroup(String),
Driver(String),
Fault(String),
IncludeChildren(bool),
Lessee(String),
Maintenance(bool),
Owner(String),
ParentNode(String),
Project(String),
ProvisionState(ProvisionState),
ResourceClass(String),
Retired(bool),
Sharded(bool),
ShardIn(CommaSeparated<String>),
}Expand description
Filter for node objects.
Variants§
Marker(String)
Marker (last Node that was fetched).
Limit(usize)
Limit on the number of fetched nodes.
SortKey(NodeSortKey)
Key to sort on.
SortDir(SortDir)
Sorting direction.
Associated(bool)
Node associated with an instance.
ChassisID(String)
Nodes with the given chassis UUID.
DescriptionContains(String)
Nodes with descriptions containing this string.
ConductorGroup(String)
Nodes that belong to this conductor group.
Driver(String)
Nodes with this driver.
Fault(String)
Nodes that have a fault of this type.
IncludeChildren(bool)
Include nodes with a parent node.
Lessee(String)
Nodes leased by this project or user ID.
Maintenance(bool)
Nodes in or not in maintenance mode.
Owner(String)
Nodes owned by this project or user ID.
ParentNode(String)
Nodes that a children of the given node.
Project(String)
Nodes owned by this project ID.
ProvisionState(ProvisionState)
Nodes in the given provision state.
ResourceClass(String)
Nodes with this resource class.
Retired(bool)
Nodes that are retired.
Sharded(bool)
Nodes that have the shard field populated.
ShardIn(CommaSeparated<String>)
Nodes that belong to one of these shards.
Implementations§
Source§impl NodeFilter
impl NodeFilter
Sourcepub fn shard_in<I>(shards: I) -> NodeFilter
pub fn shard_in<I>(shards: I) -> NodeFilter
Helper for ShardIn.
Trait Implementations§
Source§impl Clone for NodeFilter
impl Clone for NodeFilter
Source§fn clone(&self) -> NodeFilter
fn clone(&self) -> NodeFilter
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more