pub struct FileComment {
pub legacy_comment_id: Option<String>,
pub legacy_discussion_id: Option<String>,
pub link_to_discussion: Option<String>,
pub parent: Option<DriveItem>,
}Expand description
A comment on a file.
This type is not used in any activity, and only used as part of another schema.
Fields§
§legacy_comment_id: Option<String>The comment in the discussion thread. This identifier is an opaque string compatible with the Drive API; see https://developers.google.com/workspace/drive/v3/reference/comments/get
legacy_discussion_id: Option<String>The discussion thread to which the comment was added. This identifier is an opaque string compatible with the Drive API and references the first comment in a discussion; see https://developers.google.com/workspace/drive/v3/reference/comments/get
link_to_discussion: Option<String>The link to the discussion thread containing this comment, for example, https://docs.google.com/DOCUMENT_ID/edit?disco=THREAD_ID.
parent: Option<DriveItem>The Drive item containing this comment.
Trait Implementations§
Source§impl Clone for FileComment
impl Clone for FileComment
Source§fn clone(&self) -> FileComment
fn clone(&self) -> FileComment
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FileComment
impl Debug for FileComment
Source§impl Default for FileComment
impl Default for FileComment
Source§fn default() -> FileComment
fn default() -> FileComment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FileComment
impl<'de> Deserialize<'de> for FileComment
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
Source§impl Serialize for FileComment
impl Serialize for FileComment
impl Part for FileComment
Auto Trait Implementations§
impl Freeze for FileComment
impl RefUnwindSafe for FileComment
impl Send for FileComment
impl Sync for FileComment
impl Unpin for FileComment
impl UnwindSafe for FileComment
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