#[non_exhaustive]pub struct GetRecommendationsOutput {
pub profiling_group_name: String,
pub profile_start_time: DateTime,
pub profile_end_time: DateTime,
pub recommendations: Vec<Recommendation>,
pub anomalies: Vec<Anomaly>,
/* private fields */
}
Expand description
The structure representing the GetRecommendationsResponse.
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.profiling_group_name: String
The name of the profiling group the analysis data is about.
profile_start_time: DateTime
The start time of the profile the analysis data is about. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
profile_end_time: DateTime
The end time of the profile the analysis data is about. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
recommendations: Vec<Recommendation>
The list of recommendations that the analysis found for this profile.
anomalies: Vec<Anomaly>
The list of anomalies that the analysis has found for this profile.
Implementations§
source§impl GetRecommendationsOutput
impl GetRecommendationsOutput
sourcepub fn profiling_group_name(&self) -> &str
pub fn profiling_group_name(&self) -> &str
The name of the profiling group the analysis data is about.
sourcepub fn profile_start_time(&self) -> &DateTime
pub fn profile_start_time(&self) -> &DateTime
The start time of the profile the analysis data is about. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
sourcepub fn profile_end_time(&self) -> &DateTime
pub fn profile_end_time(&self) -> &DateTime
The end time of the profile the analysis data is about. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
sourcepub fn recommendations(&self) -> &[Recommendation]
pub fn recommendations(&self) -> &[Recommendation]
The list of recommendations that the analysis found for this profile.
source§impl GetRecommendationsOutput
impl GetRecommendationsOutput
sourcepub fn builder() -> GetRecommendationsOutputBuilder
pub fn builder() -> GetRecommendationsOutputBuilder
Creates a new builder-style object to manufacture GetRecommendationsOutput
.
Trait Implementations§
source§impl Clone for GetRecommendationsOutput
impl Clone for GetRecommendationsOutput
source§fn clone(&self) -> GetRecommendationsOutput
fn clone(&self) -> GetRecommendationsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetRecommendationsOutput
impl Debug for GetRecommendationsOutput
source§impl PartialEq for GetRecommendationsOutput
impl PartialEq for GetRecommendationsOutput
source§fn eq(&self, other: &GetRecommendationsOutput) -> bool
fn eq(&self, other: &GetRecommendationsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetRecommendationsOutput
impl RequestId for GetRecommendationsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetRecommendationsOutput
Auto Trait Implementations§
impl Freeze for GetRecommendationsOutput
impl RefUnwindSafe for GetRecommendationsOutput
impl Send for GetRecommendationsOutput
impl Sync for GetRecommendationsOutput
impl Unpin for GetRecommendationsOutput
impl UnwindSafe for GetRecommendationsOutput
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> 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