Struct google_drive2::CommentReply
source · pub struct CommentReply {
pub kind: Option<String>,
pub author: Option<User>,
pub deleted: Option<bool>,
pub html_content: Option<String>,
pub content: Option<String>,
pub verb: Option<String>,
pub reply_id: Option<String>,
pub modified_date: Option<String>,
pub created_date: Option<String>,
}Expand description
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).
- patch replies (request|response)
- insert replies (request|response)
- get replies (response)
- update replies (request|response)
Fields§
§kind: Option<String>This is always drive#commentReply.
The user who wrote this reply.
deleted: Option<bool>Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
html_content: Option<String>HTML formatted content for this reply.
content: Option<String>The plain text content used to create this reply. This is not HTML safe and should only be used as a starting point to make edits to a reply’s content. This field is required on inserts if no verb is specified (resolve/reopen).
verb: Option<String>The action this reply performed to the parent comment. When creating a new reply this is the action to be perform to the parent comment. Possible values are:
- “resolve” - To resolve a comment.
- “reopen” - To reopen (un-resolve) a comment.
reply_id: Option<String>The ID of the reply.
modified_date: Option<String>The date when this reply was last modified.
created_date: Option<String>The date when this reply was first created.
Trait Implementations§
source§impl Clone for CommentReply
impl Clone for CommentReply
source§fn clone(&self) -> CommentReply
fn clone(&self) -> CommentReply
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CommentReply
impl Debug for CommentReply
source§impl Default for CommentReply
impl Default for CommentReply
source§fn default() -> CommentReply
fn default() -> CommentReply
source§impl Deserialize for CommentReply
impl Deserialize for CommentReply
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
source§impl Serialize for CommentReply
impl Serialize for CommentReply
impl RequestValue for CommentReply
impl ResponseResult for CommentReply
Auto Trait Implementations§
impl Freeze for CommentReply
impl RefUnwindSafe for CommentReply
impl Send for CommentReply
impl Sync for CommentReply
impl Unpin for CommentReply
impl UnwindSafe for CommentReply
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more