Struct aws_sdk_workdocs::model::Comment
source · #[non_exhaustive]pub struct Comment { /* private fields */ }
Expand description
Describes a comment.
Implementations§
source§impl Comment
impl Comment
sourcepub fn comment_id(&self) -> Option<&str>
pub fn comment_id(&self) -> Option<&str>
The ID of the comment.
sourcepub fn contributor(&self) -> Option<&User>
pub fn contributor(&self) -> Option<&User>
The details of the user who made the comment.
sourcepub fn created_timestamp(&self) -> Option<&DateTime>
pub fn created_timestamp(&self) -> Option<&DateTime>
The time that the comment was created.
sourcepub fn status(&self) -> Option<&CommentStatusType>
pub fn status(&self) -> Option<&CommentStatusType>
The status of the comment.
sourcepub fn visibility(&self) -> Option<&CommentVisibilityType>
pub fn visibility(&self) -> Option<&CommentVisibilityType>
The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document owners, co-owners, and contributors.
sourcepub fn recipient_id(&self) -> Option<&str>
pub fn recipient_id(&self) -> Option<&str>
If the comment is a reply to another user's comment, this field contains the user ID of the user being replied to.