Struct aws_sdk_elasticache::types::CacheUsageLimits
source · #[non_exhaustive]pub struct CacheUsageLimits {
pub data_storage: Option<DataStorage>,
pub ecpu_per_second: Option<EcpuPerSecond>,
}
Expand description
The usage limits for storage and ElastiCache Processing Units for the cache.
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.data_storage: Option<DataStorage>
The maximum data storage limit in the cache, expressed in Gigabytes.
ecpu_per_second: Option<EcpuPerSecond>
The configuration for the number of ElastiCache Processing Units (ECPU) the cache can consume per second.
Implementations§
source§impl CacheUsageLimits
impl CacheUsageLimits
sourcepub fn data_storage(&self) -> Option<&DataStorage>
pub fn data_storage(&self) -> Option<&DataStorage>
The maximum data storage limit in the cache, expressed in Gigabytes.
sourcepub fn ecpu_per_second(&self) -> Option<&EcpuPerSecond>
pub fn ecpu_per_second(&self) -> Option<&EcpuPerSecond>
The configuration for the number of ElastiCache Processing Units (ECPU) the cache can consume per second.
source§impl CacheUsageLimits
impl CacheUsageLimits
sourcepub fn builder() -> CacheUsageLimitsBuilder
pub fn builder() -> CacheUsageLimitsBuilder
Creates a new builder-style object to manufacture CacheUsageLimits
.
Trait Implementations§
source§impl Clone for CacheUsageLimits
impl Clone for CacheUsageLimits
source§fn clone(&self) -> CacheUsageLimits
fn clone(&self) -> CacheUsageLimits
Returns a copy 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 Debug for CacheUsageLimits
impl Debug for CacheUsageLimits
source§impl PartialEq for CacheUsageLimits
impl PartialEq for CacheUsageLimits
source§fn eq(&self, other: &CacheUsageLimits) -> bool
fn eq(&self, other: &CacheUsageLimits) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CacheUsageLimits
Auto Trait Implementations§
impl RefUnwindSafe for CacheUsageLimits
impl Send for CacheUsageLimits
impl Sync for CacheUsageLimits
impl Unpin for CacheUsageLimits
impl UnwindSafe for CacheUsageLimits
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
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>
Creates a shared type from an unshared type.