Struct aws_sdk_rds::model::ValidStorageOptions
source · [−]#[non_exhaustive]pub struct ValidStorageOptions {
pub storage_type: Option<String>,
pub storage_size: Option<Vec<Range>>,
pub provisioned_iops: Option<Vec<Range>>,
pub iops_to_storage_ratio: Option<Vec<DoubleRange>>,
pub supports_storage_autoscaling: bool,
}Expand description
Information about valid modifications that you can make to your DB instance. Contains the result of a successful call to the DescribeValidDBInstanceModifications action.
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.storage_type: Option<String>The valid storage types for your DB instance. For example, gp2, io1.
storage_size: Option<Vec<Range>>The valid range of storage in gibibytes (GiB). For example, 100 to 16384.
provisioned_iops: Option<Vec<Range>>The valid range of provisioned IOPS. For example, 1000-20000.
iops_to_storage_ratio: Option<Vec<DoubleRange>>The valid range of Provisioned IOPS to gibibytes of storage multiplier. For example, 3-10, which means that provisioned IOPS can be between 3 and 10 times storage.
supports_storage_autoscaling: boolWhether or not Amazon RDS can automatically scale storage for DB instances that use the new instance class.
Implementations
sourceimpl ValidStorageOptions
impl ValidStorageOptions
sourcepub fn storage_type(&self) -> Option<&str>
pub fn storage_type(&self) -> Option<&str>
The valid storage types for your DB instance. For example, gp2, io1.
sourcepub fn storage_size(&self) -> Option<&[Range]>
pub fn storage_size(&self) -> Option<&[Range]>
The valid range of storage in gibibytes (GiB). For example, 100 to 16384.
sourcepub fn provisioned_iops(&self) -> Option<&[Range]>
pub fn provisioned_iops(&self) -> Option<&[Range]>
The valid range of provisioned IOPS. For example, 1000-20000.
sourcepub fn iops_to_storage_ratio(&self) -> Option<&[DoubleRange]>
pub fn iops_to_storage_ratio(&self) -> Option<&[DoubleRange]>
The valid range of Provisioned IOPS to gibibytes of storage multiplier. For example, 3-10, which means that provisioned IOPS can be between 3 and 10 times storage.
sourcepub fn supports_storage_autoscaling(&self) -> bool
pub fn supports_storage_autoscaling(&self) -> bool
Whether or not Amazon RDS can automatically scale storage for DB instances that use the new instance class.
sourceimpl ValidStorageOptions
impl ValidStorageOptions
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ValidStorageOptions
Trait Implementations
sourceimpl Clone for ValidStorageOptions
impl Clone for ValidStorageOptions
sourcefn clone(&self) -> ValidStorageOptions
fn clone(&self) -> ValidStorageOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ValidStorageOptions
impl Debug for ValidStorageOptions
sourceimpl PartialEq<ValidStorageOptions> for ValidStorageOptions
impl PartialEq<ValidStorageOptions> for ValidStorageOptions
sourcefn eq(&self, other: &ValidStorageOptions) -> bool
fn eq(&self, other: &ValidStorageOptions) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ValidStorageOptions) -> bool
fn ne(&self, other: &ValidStorageOptions) -> bool
This method tests for !=.
impl StructuralPartialEq for ValidStorageOptions
Auto Trait Implementations
impl RefUnwindSafe for ValidStorageOptions
impl Send for ValidStorageOptions
impl Sync for ValidStorageOptions
impl Unpin for ValidStorageOptions
impl UnwindSafe for ValidStorageOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more