pub struct CommentReply {
pub author: Option<User>,
pub content: Option<String>,
pub created_date: Option<DateTime<Utc>>,
pub deleted: Option<bool>,
pub html_content: Option<String>,
pub kind: Option<String>,
pub modified_date: Option<DateTime<Utc>>,
pub reply_id: Option<String>,
pub verb: Option<String>,
}
Expand description
A comment on a file in Google Drive. Some resource methods (such as replies.update
) require a replyId
. Use the replies.list
method to retrieve the ID for a reply.
§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).
- get replies (response)
- insert replies (request|response)
- patch replies (request|response)
- update replies (request|response)
Fields§
Output only. The author of the reply. The author’s email address and permission ID will not be populated.
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).
created_date: Option<DateTime<Utc>>
The date when this reply was first created.
deleted: Option<bool>
Output only. 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>
Output only. HTML formatted content for this reply.
kind: Option<String>
Output only. This is always drive#commentReply
.
modified_date: Option<DateTime<Utc>>
The date when this reply was last modified.
reply_id: Option<String>
Output only. The ID of the reply.
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.
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<'de> Deserialize<'de> for CommentReply
impl<'de> Deserialize<'de> for CommentReply
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>,
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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