nomad_client_rs/models/
csi_volume_capability.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct CsiVolumeCapability {
5    #[serde(rename = "AccessMode", skip_serializing_if = "Option::is_none")]
6    pub access_mode: Option<String>,
7    #[serde(rename = "AttachmentMode", skip_serializing_if = "Option::is_none")]
8    pub attachment_mode: Option<String>,
9}