Struct aws_sdk_codegurureviewer::operation::put_recommendation_feedback::PutRecommendationFeedbackInput
source · #[non_exhaustive]pub struct PutRecommendationFeedbackInput {
pub code_review_arn: Option<String>,
pub recommendation_id: Option<String>,
pub reactions: Option<Vec<Reaction>>,
}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 and then to collect the feedback.
reactions: Option<Vec<Reaction>>List for storing reactions. Reactions are utf-8 text code for emojis. If you send an empty list it clears all your feedback.
Implementations§
source§impl PutRecommendationFeedbackInput
impl PutRecommendationFeedbackInput
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 and then 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 you send an empty list it clears all your feedback.
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().
source§impl PutRecommendationFeedbackInput
impl PutRecommendationFeedbackInput
sourcepub fn builder() -> PutRecommendationFeedbackInputBuilder
pub fn builder() -> PutRecommendationFeedbackInputBuilder
Creates a new builder-style object to manufacture PutRecommendationFeedbackInput.
Trait Implementations§
source§impl Clone for PutRecommendationFeedbackInput
impl Clone for PutRecommendationFeedbackInput
source§fn clone(&self) -> PutRecommendationFeedbackInput
fn clone(&self) -> PutRecommendationFeedbackInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for PutRecommendationFeedbackInput
impl PartialEq for PutRecommendationFeedbackInput
source§fn eq(&self, other: &PutRecommendationFeedbackInput) -> bool
fn eq(&self, other: &PutRecommendationFeedbackInput) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PutRecommendationFeedbackInput
Auto Trait Implementations§
impl Freeze for PutRecommendationFeedbackInput
impl RefUnwindSafe for PutRecommendationFeedbackInput
impl Send for PutRecommendationFeedbackInput
impl Sync for PutRecommendationFeedbackInput
impl Unpin for PutRecommendationFeedbackInput
impl UnwindSafe for PutRecommendationFeedbackInput
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