#[non_exhaustive]pub struct StoragePoolExapoolProvisionedCapacityGb {
pub capacity_optimized: Option<i64>,
pub read_optimized: Option<i64>,
pub write_optimized: Option<i64>,
/* private fields */
}Available on crate feature
storage-pools only.Expand description
Exapool provisioned capacities for each SKU type
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.capacity_optimized: Option<i64>Output only. Size, in GiB, of provisioned capacity-optimized capacity for this Exapool
read_optimized: Option<i64>Output only. Size, in GiB, of provisioned read-optimized capacity for this Exapool
write_optimized: Option<i64>Output only. Size, in GiB, of provisioned write-optimized capacity for this Exapool
Implementations§
Source§impl StoragePoolExapoolProvisionedCapacityGb
impl StoragePoolExapoolProvisionedCapacityGb
pub fn new() -> Self
Sourcepub fn set_capacity_optimized<T>(self, v: T) -> Self
pub fn set_capacity_optimized<T>(self, v: T) -> Self
Sets the value of capacity_optimized.
§Example
ⓘ
let x = StoragePoolExapoolProvisionedCapacityGb::new().set_capacity_optimized(42);Sourcepub fn set_or_clear_capacity_optimized<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_capacity_optimized<T>(self, v: Option<T>) -> Self
Sets or clears the value of capacity_optimized.
§Example
ⓘ
let x = StoragePoolExapoolProvisionedCapacityGb::new().set_or_clear_capacity_optimized(Some(42));
let x = StoragePoolExapoolProvisionedCapacityGb::new().set_or_clear_capacity_optimized(None::<i32>);Sourcepub fn set_read_optimized<T>(self, v: T) -> Self
pub fn set_read_optimized<T>(self, v: T) -> Self
Sets the value of read_optimized.
§Example
ⓘ
let x = StoragePoolExapoolProvisionedCapacityGb::new().set_read_optimized(42);Sourcepub fn set_or_clear_read_optimized<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_read_optimized<T>(self, v: Option<T>) -> Self
Sets or clears the value of read_optimized.
§Example
ⓘ
let x = StoragePoolExapoolProvisionedCapacityGb::new().set_or_clear_read_optimized(Some(42));
let x = StoragePoolExapoolProvisionedCapacityGb::new().set_or_clear_read_optimized(None::<i32>);Sourcepub fn set_write_optimized<T>(self, v: T) -> Self
pub fn set_write_optimized<T>(self, v: T) -> Self
Sets the value of write_optimized.
§Example
ⓘ
let x = StoragePoolExapoolProvisionedCapacityGb::new().set_write_optimized(42);Sourcepub fn set_or_clear_write_optimized<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_write_optimized<T>(self, v: Option<T>) -> Self
Sets or clears the value of write_optimized.
§Example
ⓘ
let x = StoragePoolExapoolProvisionedCapacityGb::new().set_or_clear_write_optimized(Some(42));
let x = StoragePoolExapoolProvisionedCapacityGb::new().set_or_clear_write_optimized(None::<i32>);Trait Implementations§
Source§impl Clone for StoragePoolExapoolProvisionedCapacityGb
impl Clone for StoragePoolExapoolProvisionedCapacityGb
Source§fn clone(&self) -> StoragePoolExapoolProvisionedCapacityGb
fn clone(&self) -> StoragePoolExapoolProvisionedCapacityGb
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for StoragePoolExapoolProvisionedCapacityGb
impl Default for StoragePoolExapoolProvisionedCapacityGb
Source§fn default() -> StoragePoolExapoolProvisionedCapacityGb
fn default() -> StoragePoolExapoolProvisionedCapacityGb
Returns the “default value” for a type. Read more
Source§impl PartialEq for StoragePoolExapoolProvisionedCapacityGb
impl PartialEq for StoragePoolExapoolProvisionedCapacityGb
Source§fn eq(&self, other: &StoragePoolExapoolProvisionedCapacityGb) -> bool
fn eq(&self, other: &StoragePoolExapoolProvisionedCapacityGb) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StoragePoolExapoolProvisionedCapacityGb
Auto Trait Implementations§
impl Freeze for StoragePoolExapoolProvisionedCapacityGb
impl RefUnwindSafe for StoragePoolExapoolProvisionedCapacityGb
impl Send for StoragePoolExapoolProvisionedCapacityGb
impl Sync for StoragePoolExapoolProvisionedCapacityGb
impl Unpin for StoragePoolExapoolProvisionedCapacityGb
impl UnwindSafe for StoragePoolExapoolProvisionedCapacityGb
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