#[non_exhaustive]pub struct GetRecommendationsInput {
pub profiling_group_name: Option<String>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub locale: Option<String>,
}
Expand description
The structure representing the GetRecommendationsRequest.
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 to get analysis data about.
start_time: Option<DateTime>
The end time of the profile to get analysis data about. You must specify startTime
and endTime
. 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.
end_time: Option<DateTime>
The start time of the profile to get analysis data about. You must specify startTime
and endTime
. 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.
locale: Option<String>
The language used to provide analysis. Specify using a string that is one of the following BCP 47
language codes.
-
de-DE
- German, Germany -
en-GB
- English, United Kingdom -
en-US
- English, United States -
es-ES
- Spanish, Spain -
fr-FR
- French, France -
it-IT
- Italian, Italy -
ja-JP
- Japanese, Japan -
ko-KR
- Korean, Republic of Korea -
pt-BR
- Portugese, Brazil -
zh-CN
- Chinese, China -
zh-TW
- Chinese, Taiwan
Implementations§
source§impl GetRecommendationsInput
impl GetRecommendationsInput
sourcepub fn profiling_group_name(&self) -> Option<&str>
pub fn profiling_group_name(&self) -> Option<&str>
The name of the profiling group to get analysis data about.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The end time of the profile to get analysis data about. You must specify startTime
and endTime
. 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 end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
The start time of the profile to get analysis data about. You must specify startTime
and endTime
. 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 locale(&self) -> Option<&str>
pub fn locale(&self) -> Option<&str>
The language used to provide analysis. Specify using a string that is one of the following BCP 47
language codes.
-
de-DE
- German, Germany -
en-GB
- English, United Kingdom -
en-US
- English, United States -
es-ES
- Spanish, Spain -
fr-FR
- French, France -
it-IT
- Italian, Italy -
ja-JP
- Japanese, Japan -
ko-KR
- Korean, Republic of Korea -
pt-BR
- Portugese, Brazil -
zh-CN
- Chinese, China -
zh-TW
- Chinese, Taiwan
source§impl GetRecommendationsInput
impl GetRecommendationsInput
sourcepub fn builder() -> GetRecommendationsInputBuilder
pub fn builder() -> GetRecommendationsInputBuilder
Creates a new builder-style object to manufacture GetRecommendationsInput
.
Trait Implementations§
source§impl Clone for GetRecommendationsInput
impl Clone for GetRecommendationsInput
source§fn clone(&self) -> GetRecommendationsInput
fn clone(&self) -> GetRecommendationsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetRecommendationsInput
impl Debug for GetRecommendationsInput
source§impl PartialEq for GetRecommendationsInput
impl PartialEq for GetRecommendationsInput
source§fn eq(&self, other: &GetRecommendationsInput) -> bool
fn eq(&self, other: &GetRecommendationsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetRecommendationsInput
Auto Trait Implementations§
impl Freeze for GetRecommendationsInput
impl RefUnwindSafe for GetRecommendationsInput
impl Send for GetRecommendationsInput
impl Sync for GetRecommendationsInput
impl Unpin for GetRecommendationsInput
impl UnwindSafe for GetRecommendationsInput
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