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.

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).

Fields

action: Option<String>

The action the reply performed to the parent comment. Valid values are:

  • resolve
  • reopen
author: Option<User>

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>

Whether the reply has been deleted. A deleted reply has no content.

html_content: Option<String>

The content of the reply with HTML formatting.

id: Option<String>

The ID of the reply.

kind: Option<String>

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).

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more