Struct aws_sdk_computeoptimizer::types::Summary
source · #[non_exhaustive]pub struct Summary {
pub name: Option<Finding>,
pub value: f64,
pub reason_code_summaries: Option<Vec<ReasonCodeSummary>>,
}
Expand description
The summary of a recommendation.
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.name: Option<Finding>
The finding classification of the recommendation.
value: f64
The value of the recommendation summary.
reason_code_summaries: Option<Vec<ReasonCodeSummary>>
An array of objects that summarize a finding reason code.
Implementations§
source§impl Summary
impl Summary
sourcepub fn reason_code_summaries(&self) -> &[ReasonCodeSummary]
pub fn reason_code_summaries(&self) -> &[ReasonCodeSummary]
An array of objects that summarize a finding reason code.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .reason_code_summaries.is_none()
.
Trait Implementations§
source§impl PartialEq for Summary
impl PartialEq for Summary
impl StructuralPartialEq for Summary
Auto Trait Implementations§
impl RefUnwindSafe for Summary
impl Send for Summary
impl Sync for Summary
impl Unpin for Summary
impl UnwindSafe for Summary
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.