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>,
pub cluster_cloud_storage_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
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.
cluster_cloud_storage_used: Option<i64>
The amount of space in the cluster that's in cloud storage (for example, if you're using data tiering).
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.
sourcepub fn cluster_cloud_storage_used(&self) -> Option<i64>
pub fn cluster_cloud_storage_used(&self) -> Option<i64>
The amount of space in the cluster that's in cloud storage (for example, if you're using data tiering).
Trait Implementations§
source§impl PartialEq for Capacity
impl PartialEq for Capacity
impl StructuralPartialEq for Capacity
Auto Trait Implementations§
impl Freeze for Capacity
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more