#[non_exhaustive]pub struct CurrentPerformanceRiskRatings {
pub high: i64,
pub medium: i64,
pub low: i64,
pub very_low: i64,
}
Expand description
Describes the performance risk ratings for a given resource type.
Resources with a high
or medium
rating are at risk of not meeting the performance needs of their workloads, while resources with a low
rating are performing well in their workloads.
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.high: i64
A count of the applicable resource types with a high performance risk rating.
medium: i64
A count of the applicable resource types with a medium performance risk rating.
low: i64
A count of the applicable resource types with a low performance risk rating.
very_low: i64
A count of the applicable resource types with a very low performance risk rating.
Implementations§
source§impl CurrentPerformanceRiskRatings
impl CurrentPerformanceRiskRatings
sourcepub fn high(&self) -> i64
pub fn high(&self) -> i64
A count of the applicable resource types with a high performance risk rating.
sourcepub fn medium(&self) -> i64
pub fn medium(&self) -> i64
A count of the applicable resource types with a medium performance risk rating.
source§impl CurrentPerformanceRiskRatings
impl CurrentPerformanceRiskRatings
sourcepub fn builder() -> CurrentPerformanceRiskRatingsBuilder
pub fn builder() -> CurrentPerformanceRiskRatingsBuilder
Creates a new builder-style object to manufacture CurrentPerformanceRiskRatings
.
Trait Implementations§
source§impl Clone for CurrentPerformanceRiskRatings
impl Clone for CurrentPerformanceRiskRatings
source§fn clone(&self) -> CurrentPerformanceRiskRatings
fn clone(&self) -> CurrentPerformanceRiskRatings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CurrentPerformanceRiskRatings
impl PartialEq for CurrentPerformanceRiskRatings
source§fn eq(&self, other: &CurrentPerformanceRiskRatings) -> bool
fn eq(&self, other: &CurrentPerformanceRiskRatings) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CurrentPerformanceRiskRatings
Auto Trait Implementations§
impl Freeze for CurrentPerformanceRiskRatings
impl RefUnwindSafe for CurrentPerformanceRiskRatings
impl Send for CurrentPerformanceRiskRatings
impl Sync for CurrentPerformanceRiskRatings
impl Unpin for CurrentPerformanceRiskRatings
impl UnwindSafe for CurrentPerformanceRiskRatings
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