pub struct CsiInfo {
pub alloc_id: String,
pub health_description: String,
pub requires_controller_plugin: bool,
pub requires_topologies: bool,
pub plugin_id: String,
pub update_time: DateTime<Utc>,
pub controller_info: Option<CsiControllerInfo>,
pub node_info: Option<CsiNodeInfo>,
pub healthy: bool,
}
Expand description
CSIInfo is the current state of a single CSI Plugin. This is updated regularly as plugin health changes on the node.
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§alloc_id: String
§health_description: String
§requires_controller_plugin: bool
§requires_topologies: bool
§plugin_id: String
§update_time: DateTime<Utc>
§controller_info: Option<CsiControllerInfo>
§node_info: Option<CsiNodeInfo>
§healthy: bool
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CsiInfo
impl<'de> Deserialize<'de> for CsiInfo
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 CsiInfo
Auto Trait Implementations§
impl Freeze for CsiInfo
impl RefUnwindSafe for CsiInfo
impl Send for CsiInfo
impl Sync for CsiInfo
impl Unpin for CsiInfo
impl UnwindSafe for CsiInfo
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