Struct aws_sdk_datasync::types::Capacity
source · #[non_exhaustive]pub struct Capacity {
pub used: Option<i64>,
pub provisioned: Option<i64>,
pub logical_used: Option<i64>,
}
Expand description
The storage capacity of an on-premises storage system resource (for example, a volume).
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.used: Option<i64>
The amount of space that's being used in a storage system resource.
provisioned: Option<i64>
The total amount of space available in a storage system resource.
logical_used: Option<i64>
The amount of space that's being used in a storage system resource without accounting for compression or deduplication.
Implementations§
source§impl Capacity
impl Capacity
sourcepub fn used(&self) -> Option<i64>
pub fn used(&self) -> Option<i64>
The amount of space that's being used in a storage system resource.
sourcepub fn provisioned(&self) -> Option<i64>
pub fn provisioned(&self) -> Option<i64>
The total amount of space available in a storage system resource.
sourcepub fn logical_used(&self) -> Option<i64>
pub fn logical_used(&self) -> Option<i64>
The amount of space that's being used in a storage system resource without accounting for compression or deduplication.
Trait Implementations§
source§impl PartialEq<Capacity> for Capacity
impl PartialEq<Capacity> for Capacity
impl StructuralPartialEq for Capacity
Auto Trait Implementations§
impl RefUnwindSafe for Capacity
impl Send for Capacity
impl Sync for Capacity
impl Unpin for Capacity
impl UnwindSafe for Capacity
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