pub struct CsiVolume {Show 23 fields
pub ID: Option<String>,
pub name: Option<String>,
pub external_id: Option<String>,
pub namespace: Option<String>,
pub topologies: Option<Vec<CsiTopology>>,
pub access_mode: Option<String>,
pub attachment_mode: Option<String>,
pub mount_options: Option<Box<CsiMountOptions>>,
pub read_allocs: Option<HashMap<String, Allocation>>,
pub write_allocs: Option<HashMap<String, Allocation>>,
pub allocations: Option<Vec<AllocationListStub>>,
pub schedulable: Option<bool>,
pub plugin_id: Option<String>,
pub provider: Option<String>,
pub provider_version: Option<String>,
pub controller_required: Option<bool>,
pub controllers_healthy: Option<i32>,
pub controllers_expected: Option<i32>,
pub nodes_healthy: Option<i32>,
pub nodes_expected: Option<i32>,
pub resource_exhausted: Option<String>,
pub create_index: Option<i32>,
pub modify_index: Option<i32>,
}
Fields§
§ID: Option<String>
§name: Option<String>
§external_id: Option<String>
§namespace: Option<String>
§topologies: Option<Vec<CsiTopology>>
§access_mode: Option<String>
§attachment_mode: Option<String>
§mount_options: Option<Box<CsiMountOptions>>
§read_allocs: Option<HashMap<String, Allocation>>
§write_allocs: Option<HashMap<String, Allocation>>
§allocations: Option<Vec<AllocationListStub>>
§schedulable: Option<bool>
§plugin_id: Option<String>
§provider: Option<String>
§provider_version: Option<String>
§controller_required: Option<bool>
§controllers_healthy: Option<i32>
§controllers_expected: Option<i32>
§nodes_healthy: Option<i32>
§nodes_expected: Option<i32>
§resource_exhausted: Option<String>
§create_index: Option<i32>
§modify_index: Option<i32>
Implementations§
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