Struct google_drive3::api::Reply
source · pub struct Reply {
pub action: Option<String>,
pub author: Option<User>,
pub content: Option<String>,
pub created_time: Option<DateTime<Utc>>,
pub deleted: Option<bool>,
pub html_content: Option<String>,
pub id: Option<String>,
pub kind: Option<String>,
pub modified_time: Option<DateTime<Utc>>,
}
Expand description
A reply to a comment on a file. 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).
- create replies (request|response)
- get replies (response)
- update replies (request|response)
Fields§
§action: Option<String>
The action the reply performed to the parent comment. Valid values are: * resolve
* reopen
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 of the reply. This field is used for setting the content, while htmlContent
should be displayed. This is required on creates if no action
is specified.
created_time: Option<DateTime<Utc>>
The time at which the reply was created (RFC 3339 date-time).
deleted: Option<bool>
Output only. Whether the reply has been deleted. A deleted reply has no content.
html_content: Option<String>
Output only. The content of the reply with HTML formatting.
id: Option<String>
Output only. The ID of the reply.
kind: Option<String>
Output only. Identifies what kind of resource this is. Value: the fixed string "drive#reply"
.
modified_time: Option<DateTime<Utc>>
The last time the reply was modified (RFC 3339 date-time).