[−][src]Struct google_drive2::Comment
A comment on a file in Google Drive.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- update comments (request|response)
- insert comments (request|response)
- delete comments (none)
- patch comments (request|response)
- get comments (response)
- list comments (none)
Fields
status: Option<String>
The status of this comment. Status can be changed by posting a reply to a comment with the desired status.
- "open" - The comment is still open.
- "resolved" - The comment has been resolved by one of its replies.
self_link: Option<String>
A link back to this comment.
kind: Option<String>
This is always drive#comment.
The user who wrote this comment.
deleted: Option<bool>
Whether this comment has been deleted. If a comment has been deleted the content will be cleared and this will only represent a comment that once existed.
created_date: Option<String>
The date when this comment was first created.
html_content: Option<String>
HTML formatted content for this comment.
content: Option<String>
The plain text content used to create this comment. This is not HTML safe and should only be used as a starting point to make edits to a comment's content.
modified_date: Option<String>
The date when this comment or any of its replies were last modified.
context: Option<CommentContext>
The context of the file which is being commented on.
replies: Option<Vec<CommentReply>>
Replies to this post.
comment_id: Option<String>
The ID of the comment.
anchor: Option<String>
A region of the document represented as a JSON string. See anchor documentation for details on how to define and interpret anchor properties.
file_title: Option<String>
The title of the file which this comment is addressing.
file_id: Option<String>
The file which this comment is addressing.
Trait Implementations
impl Resource for Comment
[src]
impl ResponseResult for Comment
[src]
impl RequestValue for Comment
[src]
impl Default for Comment
[src]
impl Clone for Comment
[src]
fn clone(&self) -> Comment
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Comment
[src]
impl Serialize for Comment
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Comment
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Comment
impl Unpin for Comment
impl Sync for Comment
impl UnwindSafe for Comment
impl RefUnwindSafe for Comment
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,