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