#[non_exhaustive]pub struct RdsDatabaseRecommendedOptionProjectedMetric {
pub recommended_db_instance_class: Option<String>,
pub rank: i32,
pub projected_metrics: Option<Vec<RdsDatabaseProjectedMetric>>,
}
Expand description
Describes the projected metrics of an Amazon RDS recommendation option.
To determine the performance difference between your current Amazon RDS and the recommended option, compare the metric data of your service against its projected metric data.
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.recommended_db_instance_class: Option<String>
The recommended DB instance class for the Amazon RDS.
rank: i32
The rank identifier of the RDS instance recommendation option.
projected_metrics: Option<Vec<RdsDatabaseProjectedMetric>>
An array of objects that describe the projected metric.
Implementations§
source§impl RdsDatabaseRecommendedOptionProjectedMetric
impl RdsDatabaseRecommendedOptionProjectedMetric
sourcepub fn recommended_db_instance_class(&self) -> Option<&str>
pub fn recommended_db_instance_class(&self) -> Option<&str>
The recommended DB instance class for the Amazon RDS.
sourcepub fn projected_metrics(&self) -> &[RdsDatabaseProjectedMetric]
pub fn projected_metrics(&self) -> &[RdsDatabaseProjectedMetric]
An array of objects that describe the projected metric.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .projected_metrics.is_none()
.
source§impl RdsDatabaseRecommendedOptionProjectedMetric
impl RdsDatabaseRecommendedOptionProjectedMetric
sourcepub fn builder() -> RdsDatabaseRecommendedOptionProjectedMetricBuilder
pub fn builder() -> RdsDatabaseRecommendedOptionProjectedMetricBuilder
Creates a new builder-style object to manufacture RdsDatabaseRecommendedOptionProjectedMetric
.
Trait Implementations§
source§impl Clone for RdsDatabaseRecommendedOptionProjectedMetric
impl Clone for RdsDatabaseRecommendedOptionProjectedMetric
source§fn clone(&self) -> RdsDatabaseRecommendedOptionProjectedMetric
fn clone(&self) -> RdsDatabaseRecommendedOptionProjectedMetric
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for RdsDatabaseRecommendedOptionProjectedMetric
impl PartialEq for RdsDatabaseRecommendedOptionProjectedMetric
source§fn eq(&self, other: &RdsDatabaseRecommendedOptionProjectedMetric) -> bool
fn eq(&self, other: &RdsDatabaseRecommendedOptionProjectedMetric) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RdsDatabaseRecommendedOptionProjectedMetric
Auto Trait Implementations§
impl Freeze for RdsDatabaseRecommendedOptionProjectedMetric
impl RefUnwindSafe for RdsDatabaseRecommendedOptionProjectedMetric
impl Send for RdsDatabaseRecommendedOptionProjectedMetric
impl Sync for RdsDatabaseRecommendedOptionProjectedMetric
impl Unpin for RdsDatabaseRecommendedOptionProjectedMetric
impl UnwindSafe for RdsDatabaseRecommendedOptionProjectedMetric
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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