pub struct Node {
Show 26 fields pub id: Option<String>, pub datacenter: Option<String>, pub name: Option<String>, pub http_addr: Option<String>, pub tls_enabled: Option<bool>, pub attributes: Option<HashMap<String, String>>, pub resources: Option<Resources>, pub reserved: Option<Resources>, pub node_resources: Option<NodeResources>, pub reserved_resources: Option<NodeReservedResources>, pub links: Option<HashMap<String, String>>, pub meta: Option<HashMap<String, String>>, pub node_class: Option<String>, pub drain: Option<bool>, pub drain_strategy: Option<DrainStrategy>, pub scheduling_eligibility: Option<String>, pub status: Option<String>, pub status_description: Option<String>, pub status_updated_at: Option<i64>, pub events: Option<Vec<NodeEvent>>, pub drivers: Option<HashMap<String, DriverInfo>>, pub host_volumes: Option<HashMap<String, HostVolumeInfo>>, pub csi_controller_plugins: Option<HashMap<String, CsiInfo>>, pub csi_node_plugins: Option<HashMap<String, CsiInfo>>, pub create_index: Option<i32>, pub modify_index: Option<i32>,
}

Fields§

§id: Option<String>§datacenter: Option<String>§name: Option<String>§http_addr: Option<String>§tls_enabled: Option<bool>§attributes: Option<HashMap<String, String>>§resources: Option<Resources>§reserved: Option<Resources>§node_resources: Option<NodeResources>§reserved_resources: Option<NodeReservedResources>§links: Option<HashMap<String, String>>§meta: Option<HashMap<String, String>>§node_class: Option<String>§drain: Option<bool>§drain_strategy: Option<DrainStrategy>§scheduling_eligibility: Option<String>§status: Option<String>§status_description: Option<String>§status_updated_at: Option<i64>§events: Option<Vec<NodeEvent>>§drivers: Option<HashMap<String, DriverInfo>>§host_volumes: Option<HashMap<String, HostVolumeInfo>>§csi_controller_plugins: Option<HashMap<String, CsiInfo>>§csi_node_plugins: Option<HashMap<String, CsiInfo>>§create_index: Option<i32>§modify_index: Option<i32>

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

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

Returns the argument unchanged.

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

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.
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