Struct aws_sdk_codecommit::types::ReactionForComment
source · #[non_exhaustive]pub struct ReactionForComment {
pub reaction: Option<ReactionValueFormats>,
pub reaction_users: Option<Vec<String>>,
pub reactions_from_deleted_users_count: Option<i32>,
}Expand description
Information about the reaction values provided by users on a comment.
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.reaction: Option<ReactionValueFormats>The reaction for a specified comment.
reaction_users: Option<Vec<String>>The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.
reactions_from_deleted_users_count: Option<i32>A numerical count of users who reacted with the specified emoji whose identities have been subsequently deleted from IAM. While these IAM users or roles no longer exist, the reactions might still appear in total reaction counts.
Implementations§
source§impl ReactionForComment
impl ReactionForComment
sourcepub fn reaction(&self) -> Option<&ReactionValueFormats>
pub fn reaction(&self) -> Option<&ReactionValueFormats>
The reaction for a specified comment.
sourcepub fn reaction_users(&self) -> &[String]
pub fn reaction_users(&self) -> &[String]
The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .reaction_users.is_none().
sourcepub fn reactions_from_deleted_users_count(&self) -> Option<i32>
pub fn reactions_from_deleted_users_count(&self) -> Option<i32>
A numerical count of users who reacted with the specified emoji whose identities have been subsequently deleted from IAM. While these IAM users or roles no longer exist, the reactions might still appear in total reaction counts.
source§impl ReactionForComment
impl ReactionForComment
sourcepub fn builder() -> ReactionForCommentBuilder
pub fn builder() -> ReactionForCommentBuilder
Creates a new builder-style object to manufacture ReactionForComment.
Trait Implementations§
source§impl Clone for ReactionForComment
impl Clone for ReactionForComment
source§fn clone(&self) -> ReactionForComment
fn clone(&self) -> ReactionForComment
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ReactionForComment
impl Debug for ReactionForComment
source§impl PartialEq for ReactionForComment
impl PartialEq for ReactionForComment
source§fn eq(&self, other: &ReactionForComment) -> bool
fn eq(&self, other: &ReactionForComment) -> bool
self and other values to be equal, and is used
by ==.