pub struct VolumeCreate {Show 20 fields
pub capacity_bytes: Option<Int64>,
pub encrypted: Option<Boolean>,
pub encryption_types: Option<Vec<EncryptionTypes>>,
pub access_capabilities: Option<Vec<StorageAccessCapability>>,
pub capacity: Option<CapacityUpdate>,
pub low_space_warning_threshold_percents: Option<Vec<Int64>>,
pub io_statistics: Option<IoStatisticsUpdate>,
pub recoverable_capacity_source_count: Option<Int64>,
pub provisioning_policy: Option<ProvisioningPolicy>,
pub strip_size_bytes: Option<Int64>,
pub read_cache_policy: Option<ReadCachePolicyType>,
pub write_cache_policy: Option<WriteCachePolicyType>,
pub display_name: Option<String>,
pub write_hole_protection_policy: Option<WriteHoleProtectionPolicyType>,
pub deduplicated: Option<Boolean>,
pub compressed: Option<Boolean>,
pub io_perf_mode_enabled: Option<Boolean>,
pub nvme_namespace_properties: Option<NvmeNamespacePropertiesUpdate>,
pub is_boot_capable: Option<Boolean>,
pub replication_enabled: Option<Boolean>,
}Expand description
Create struct corresponding to Volume
Fields§
§capacity_bytes: Option<Int64>§encrypted: Option<Boolean>§encryption_types: Option<Vec<EncryptionTypes>>§access_capabilities: Option<Vec<StorageAccessCapability>>§capacity: Option<CapacityUpdate>§low_space_warning_threshold_percents: Option<Vec<Int64>>§io_statistics: Option<IoStatisticsUpdate>§recoverable_capacity_source_count: Option<Int64>§provisioning_policy: Option<ProvisioningPolicy>§strip_size_bytes: Option<Int64>§read_cache_policy: Option<ReadCachePolicyType>§write_cache_policy: Option<WriteCachePolicyType>§display_name: Option<String>§write_hole_protection_policy: Option<WriteHoleProtectionPolicyType>§deduplicated: Option<Boolean>§compressed: Option<Boolean>§io_perf_mode_enabled: Option<Boolean>§nvme_namespace_properties: Option<NvmeNamespacePropertiesUpdate>§is_boot_capable: Option<Boolean>§replication_enabled: Option<Boolean>Implementations§
Source§impl VolumeCreate
impl VolumeCreate
pub fn builder() -> Self
pub fn build(self) -> Self
pub fn with_capacity_bytes(self, v: Int64) -> Self
pub fn with_encrypted(self, v: Boolean) -> Self
pub fn with_encryption_types(self, v: Vec<EncryptionTypes>) -> Self
pub fn with_access_capabilities(self, v: Vec<StorageAccessCapability>) -> Self
pub fn with_capacity(self, v: CapacityUpdate) -> Self
pub fn with_low_space_warning_threshold_percents(self, v: Vec<Int64>) -> Self
pub fn with_io_statistics(self, v: IoStatisticsUpdate) -> Self
pub fn with_recoverable_capacity_source_count(self, v: Int64) -> Self
pub fn with_provisioning_policy(self, v: ProvisioningPolicy) -> Self
pub fn with_strip_size_bytes(self, v: Int64) -> Self
pub fn with_read_cache_policy(self, v: ReadCachePolicyType) -> Self
pub fn with_write_cache_policy(self, v: WriteCachePolicyType) -> Self
pub fn with_display_name(self, v: String) -> Self
pub fn with_write_hole_protection_policy( self, v: WriteHoleProtectionPolicyType, ) -> Self
pub fn with_deduplicated(self, v: Boolean) -> Self
pub fn with_compressed(self, v: Boolean) -> Self
pub fn with_io_perf_mode_enabled(self, v: Boolean) -> Self
pub fn with_nvme_namespace_properties( self, v: NvmeNamespacePropertiesUpdate, ) -> Self
pub fn with_is_boot_capable(self, v: Boolean) -> Self
pub fn with_replication_enabled(self, v: Boolean) -> Self
Trait Implementations§
Source§impl Creatable<VolumeCreate, Volume> for VolumeCollection
impl Creatable<VolumeCreate, Volume> for VolumeCollection
Source§impl Debug for VolumeCreate
impl Debug for VolumeCreate
Auto Trait Implementations§
impl Freeze for VolumeCreate
impl RefUnwindSafe for VolumeCreate
impl Send for VolumeCreate
impl Sync for VolumeCreate
impl Unpin for VolumeCreate
impl UnsafeUnpin for VolumeCreate
impl UnwindSafe for VolumeCreate
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