#[non_exhaustive]pub struct RecommendationFeedbackSummary {
pub recommendation_id: Option<String>,
pub reactions: Option<Vec<Reaction>>,
pub user_id: Option<String>,
}Expand description
Information about recommendation feedback summaries.
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.recommendation_id: Option<String>The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.
reactions: Option<Vec<Reaction>>List for storing reactions. Reactions are utf-8 text code for emojis.
user_id: Option<String>The ID of the user that gave the feedback.
The UserId is an IAM principal that can be specified as an Amazon Web Services account ID or an Amazon Resource Name (ARN). For more information, see Specifying a Principal in the Amazon Web Services Identity and Access Management User Guide.
Implementations§
source§impl RecommendationFeedbackSummary
impl RecommendationFeedbackSummary
sourcepub fn recommendation_id(&self) -> Option<&str>
pub fn recommendation_id(&self) -> Option<&str>
The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.
sourcepub fn reactions(&self) -> &[Reaction]
pub fn reactions(&self) -> &[Reaction]
List for storing reactions. Reactions are utf-8 text code for emojis.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .reactions.is_none().
sourcepub fn user_id(&self) -> Option<&str>
pub fn user_id(&self) -> Option<&str>
The ID of the user that gave the feedback.
The UserId is an IAM principal that can be specified as an Amazon Web Services account ID or an Amazon Resource Name (ARN). For more information, see Specifying a Principal in the Amazon Web Services Identity and Access Management User Guide.
source§impl RecommendationFeedbackSummary
impl RecommendationFeedbackSummary
sourcepub fn builder() -> RecommendationFeedbackSummaryBuilder
pub fn builder() -> RecommendationFeedbackSummaryBuilder
Creates a new builder-style object to manufacture RecommendationFeedbackSummary.
Trait Implementations§
source§impl Clone for RecommendationFeedbackSummary
impl Clone for RecommendationFeedbackSummary
source§fn clone(&self) -> RecommendationFeedbackSummary
fn clone(&self) -> RecommendationFeedbackSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for RecommendationFeedbackSummary
impl PartialEq for RecommendationFeedbackSummary
source§fn eq(&self, other: &RecommendationFeedbackSummary) -> bool
fn eq(&self, other: &RecommendationFeedbackSummary) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RecommendationFeedbackSummary
Auto Trait Implementations§
impl Freeze for RecommendationFeedbackSummary
impl RefUnwindSafe for RecommendationFeedbackSummary
impl Send for RecommendationFeedbackSummary
impl Sync for RecommendationFeedbackSummary
impl Unpin for RecommendationFeedbackSummary
impl UnwindSafe for RecommendationFeedbackSummary
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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