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<Box<Resources>>,
pub reserved: Option<Box<Resources>>,
pub node_resources: Option<Box<NodeResources>>,
pub reserved_resources: Option<Box<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<Box<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<Box<Resources>>
§reserved: Option<Box<Resources>>
§node_resources: Option<Box<NodeResources>>
§reserved_resources: Option<Box<NodeReservedResources>>
§links: Option<HashMap<String, String>>
§meta: Option<HashMap<String, String>>
§node_class: Option<String>
§drain: Option<bool>
§drain_strategy: Option<Box<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>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Node
impl<'de> Deserialize<'de> for Node
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more