Struct aws_sdk_workdocs::model::Comment
source · [−]#[non_exhaustive]pub struct Comment { /* private fields */ }
Expand description
Describes a comment.
Implementations
sourceimpl 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.
Trait Implementations
impl StructuralPartialEq for Comment
Auto Trait Implementations
impl RefUnwindSafe for Comment
impl Send for Comment
impl Sync for Comment
impl Unpin for Comment
impl UnwindSafe for Comment
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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