#[non_exhaustive]pub struct GetRecommendationsOutput {
pub profiling_group_name: Option<String>,
pub profile_start_time: Option<DateTime>,
pub profile_end_time: Option<DateTime>,
pub recommendations: Option<Vec<Recommendation>>,
pub anomalies: Option<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: Option<String>
The name of the profiling group the analysis data is about.
profile_start_time: Option<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: Option<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: Option<Vec<Recommendation>>
The list of recommendations that the analysis found for this profile.
anomalies: Option<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) -> Option<&str>
pub fn profiling_group_name(&self) -> Option<&str>
The name of the profiling group the analysis data is about.
sourcepub fn profile_start_time(&self) -> Option<&DateTime>
pub fn profile_start_time(&self) -> Option<&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) -> Option<&DateTime>
pub fn profile_end_time(&self) -> Option<&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) -> Option<&[Recommendation]>
pub fn recommendations(&self) -> Option<&[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<GetRecommendationsOutput> for GetRecommendationsOutput
impl PartialEq<GetRecommendationsOutput> 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.