#[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 ==
.