#[non_exhaustive]pub struct DbStorageConfiguration {
pub storage_type: Option<String>,
pub allocated_storage: i32,
pub iops: Option<i32>,
pub max_allocated_storage: Option<i32>,
pub storage_throughput: Option<i32>,
}
Expand description
The configuration of the recommended RDS storage.
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.storage_type: Option<String>
The type of RDS storage.
allocated_storage: i32
The size of the RDS storage in gigabytes (GB).
iops: Option<i32>
The provisioned IOPs of the RDS storage.
max_allocated_storage: Option<i32>
The maximum limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the RDS instance.
storage_throughput: Option<i32>
The storage throughput of the RDS storage.
Implementations§
source§impl DbStorageConfiguration
impl DbStorageConfiguration
sourcepub fn storage_type(&self) -> Option<&str>
pub fn storage_type(&self) -> Option<&str>
The type of RDS storage.
sourcepub fn allocated_storage(&self) -> i32
pub fn allocated_storage(&self) -> i32
The size of the RDS storage in gigabytes (GB).
sourcepub fn max_allocated_storage(&self) -> Option<i32>
pub fn max_allocated_storage(&self) -> Option<i32>
The maximum limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the RDS instance.
sourcepub fn storage_throughput(&self) -> Option<i32>
pub fn storage_throughput(&self) -> Option<i32>
The storage throughput of the RDS storage.
source§impl DbStorageConfiguration
impl DbStorageConfiguration
sourcepub fn builder() -> DbStorageConfigurationBuilder
pub fn builder() -> DbStorageConfigurationBuilder
Creates a new builder-style object to manufacture DbStorageConfiguration
.
Trait Implementations§
source§impl Clone for DbStorageConfiguration
impl Clone for DbStorageConfiguration
source§fn clone(&self) -> DbStorageConfiguration
fn clone(&self) -> DbStorageConfiguration
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 DbStorageConfiguration
impl Debug for DbStorageConfiguration
source§impl PartialEq for DbStorageConfiguration
impl PartialEq for DbStorageConfiguration
impl StructuralPartialEq for DbStorageConfiguration
Auto Trait Implementations§
impl Freeze for DbStorageConfiguration
impl RefUnwindSafe for DbStorageConfiguration
impl Send for DbStorageConfiguration
impl Sync for DbStorageConfiguration
impl Unpin for DbStorageConfiguration
impl UnwindSafe for DbStorageConfiguration
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.