nomad_client_rs/models/
csi_node_info.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct CsiNodeInfo {
5    #[serde(rename = "AccessibleTopology", skip_serializing_if = "Option::is_none")]
6    pub accessible_topology: Option<crate::models::CsiTopology>,
7    #[serde(rename = "ID", skip_serializing_if = "Option::is_none")]
8    pub id: Option<String>,
9    #[serde(rename = "MaxVolumes", skip_serializing_if = "Option::is_none")]
10    pub max_volumes: Option<i64>,
11    #[serde(
12        rename = "RequiresNodeStageVolume",
13        skip_serializing_if = "Option::is_none"
14    )]
15    pub requires_node_stage_volume: Option<bool>,
16    #[serde(rename = "SupportsCondition", skip_serializing_if = "Option::is_none")]
17    pub supports_condition: Option<bool>,
18    #[serde(rename = "SupportsExpand", skip_serializing_if = "Option::is_none")]
19    pub supports_expand: Option<bool>,
20    #[serde(rename = "SupportsStats", skip_serializing_if = "Option::is_none")]
21    pub supports_stats: Option<bool>,
22}