pub struct VolumeUpdate {Show 21 fields
pub base: Option<ResourceUpdate>,
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
Update struct corresponding to Volume
Fields§
§base: Option<ResourceUpdate>§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 VolumeUpdate
impl VolumeUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_base(self, v: ResourceUpdate) -> 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 Debug for VolumeUpdate
impl Debug for VolumeUpdate
Source§impl Default for VolumeUpdate
impl Default for VolumeUpdate
Source§fn default() -> VolumeUpdate
fn default() -> VolumeUpdate
Returns the “default value” for a type. Read more
Source§impl Serialize for VolumeUpdate
impl Serialize for VolumeUpdate
Auto Trait Implementations§
impl Freeze for VolumeUpdate
impl RefUnwindSafe for VolumeUpdate
impl Send for VolumeUpdate
impl Sync for VolumeUpdate
impl Unpin for VolumeUpdate
impl UnsafeUnpin for VolumeUpdate
impl UnwindSafe for VolumeUpdate
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