pub struct Comment {
pub comment_id: String,
pub contributor: Option<User>,
pub created_timestamp: Option<f64>,
pub parent_id: Option<String>,
pub recipient_id: Option<String>,
pub status: Option<String>,
pub text: Option<String>,
pub thread_id: Option<String>,
pub visibility: Option<String>,
}
Expand description
Describes a comment.
Fields§
§comment_id: String
The ID of the comment.
contributor: Option<User>
The details of the user who made the comment.
created_timestamp: Option<f64>
The time that the comment was created.
parent_id: Option<String>
The ID of the parent comment.
recipient_id: Option<String>
If the comment is a reply to another user's comment, this field contains the user ID of the user being replied to.
status: Option<String>
The status of the comment.
text: Option<String>
The text of the comment.
thread_id: Option<String>
The ID of the root comment in the thread.
visibility: Option<String>
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.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Comment
impl<'de> Deserialize<'de> for Comment
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Comment
Auto Trait Implementations§
impl Freeze for Comment
impl RefUnwindSafe for Comment
impl Send for Comment
impl Sync for Comment
impl Unpin for Comment
impl UnwindSafe for Comment
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
Mutably borrows from an owned value. Read more