Struct aws_sdk_datasync::types::Capacity
source · #[non_exhaustive]pub struct Capacity { /* private fields */ }
Expand description
The storage capacity of an on-premises storage system resource (for example, a volume).
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