#[non_exhaustive]pub struct RecommendationFeedback {
pub code_review_arn: Option<String>,
pub recommendation_id: Option<String>,
pub reactions: Option<Vec<Reaction>>,
pub user_id: Option<String>,
pub created_time_stamp: Option<DateTime>,
pub last_updated_time_stamp: Option<DateTime>,
}Expand description
Information about the recommendation feedback.
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.code_review_arn: Option<String>The Amazon Resource Name (ARN) of the CodeReview object.
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. You can send an empty list to clear off all your feedback.
user_id: Option<String>The ID of the user that made the API call.
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.
created_time_stamp: Option<DateTime>The time at which the feedback was created.
last_updated_time_stamp: Option<DateTime>The time at which the feedback was last updated.
Implementations
sourceimpl RecommendationFeedback
impl RecommendationFeedback
sourcepub fn code_review_arn(&self) -> Option<&str>
pub fn code_review_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the CodeReview object.
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) -> Option<&[Reaction]>
pub fn reactions(&self) -> Option<&[Reaction]>
List for storing reactions. Reactions are utf-8 text code for emojis. You can send an empty list to clear off all your feedback.
sourcepub fn user_id(&self) -> Option<&str>
pub fn user_id(&self) -> Option<&str>
The ID of the user that made the API call.
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.
sourcepub fn created_time_stamp(&self) -> Option<&DateTime>
pub fn created_time_stamp(&self) -> Option<&DateTime>
The time at which the feedback was created.
sourcepub fn last_updated_time_stamp(&self) -> Option<&DateTime>
pub fn last_updated_time_stamp(&self) -> Option<&DateTime>
The time at which the feedback was last updated.
sourceimpl RecommendationFeedback
impl RecommendationFeedback
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RecommendationFeedback
Trait Implementations
sourceimpl Clone for RecommendationFeedback
impl Clone for RecommendationFeedback
sourcefn clone(&self) -> RecommendationFeedback
fn clone(&self) -> RecommendationFeedback
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for RecommendationFeedback
impl Debug for RecommendationFeedback
sourceimpl PartialEq<RecommendationFeedback> for RecommendationFeedback
impl PartialEq<RecommendationFeedback> for RecommendationFeedback
sourcefn eq(&self, other: &RecommendationFeedback) -> bool
fn eq(&self, other: &RecommendationFeedback) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &RecommendationFeedback) -> bool
fn ne(&self, other: &RecommendationFeedback) -> bool
This method tests for !=.
impl StructuralPartialEq for RecommendationFeedback
Auto Trait Implementations
impl RefUnwindSafe for RecommendationFeedback
impl Send for RecommendationFeedback
impl Sync for RecommendationFeedback
impl Unpin for RecommendationFeedback
impl UnwindSafe for RecommendationFeedback
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more