pub struct CsiVolume {Show 33 fields
pub access_mode: Option<String>,
pub allocations: Option<Vec<AllocationListStub>>,
pub attachment_mode: Option<String>,
pub capacity: Option<i64>,
pub clone_id: Option<String>,
pub context: Option<HashMap<String, String>>,
pub controller_required: Option<bool>,
pub controllers_expected: Option<i32>,
pub controllers_healthy: Option<i32>,
pub create_index: Option<i32>,
pub external_id: Option<String>,
pub id: Option<String>,
pub modify_index: Option<i32>,
pub mount_options: Option<CsiMountOptions>,
pub name: Option<String>,
pub namespace: Option<String>,
pub nodes_expected: Option<i32>,
pub nodes_healthy: Option<i32>,
pub parameters: Option<HashMap<String, String>>,
pub plugin_id: Option<String>,
pub provider: Option<String>,
pub provider_version: Option<String>,
pub read_allocs: Option<HashMap<String, Allocation>>,
pub requested_capabilities: Option<Vec<CsiVolumeCapability>>,
pub requested_capacity_max: Option<i64>,
pub requested_capacity_min: Option<i64>,
pub requested_topologies: Option<CsiTopologyRequest>,
pub resource_exhausted: Option<String>,
pub schedulable: Option<bool>,
pub secrets: Option<HashMap<String, String>>,
pub snapshot_id: Option<String>,
pub topologies: Option<Vec<CsiTopology>>,
pub write_allocs: Option<HashMap<String, Allocation>>,
}Fields§
§access_mode: Option<String>§allocations: Option<Vec<AllocationListStub>>§attachment_mode: Option<String>§capacity: Option<i64>§clone_id: Option<String>§context: Option<HashMap<String, String>>§controller_required: Option<bool>§controllers_expected: Option<i32>§controllers_healthy: Option<i32>§create_index: Option<i32>§external_id: Option<String>§id: Option<String>§modify_index: Option<i32>§mount_options: Option<CsiMountOptions>§name: Option<String>§namespace: Option<String>§nodes_expected: Option<i32>§nodes_healthy: Option<i32>§parameters: Option<HashMap<String, String>>§plugin_id: Option<String>§provider: Option<String>§provider_version: Option<String>§read_allocs: Option<HashMap<String, Allocation>>§requested_capabilities: Option<Vec<CsiVolumeCapability>>§requested_capacity_max: Option<i64>§requested_capacity_min: Option<i64>§requested_topologies: Option<CsiTopologyRequest>§resource_exhausted: Option<String>§schedulable: Option<bool>§secrets: Option<HashMap<String, String>>§snapshot_id: Option<String>§topologies: Option<Vec<CsiTopology>>§write_allocs: Option<HashMap<String, Allocation>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for CsiVolume
impl<'de> Deserialize<'de> for CsiVolume
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 CsiVolume
Auto Trait Implementations§
impl Freeze for CsiVolume
impl RefUnwindSafe for CsiVolume
impl Send for CsiVolume
impl Sync for CsiVolume
impl Unpin for CsiVolume
impl UnwindSafe for CsiVolume
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