Struct google_drive::comments::Comments[][src]

pub struct Comments {
    pub client: Client,
}

Fields

client: Client

Implementations

This function performs a GET to the /files/{fileId}/comments endpoint.

Lists a file’s comments.

Parameters:

  • file_id: &str – A link to this theme’s background image.
  • include_deleted: bool – Whether to include deleted comments. Deleted comments will not include their original content.
  • page_size: i64 – A map of maximum import sizes by MIME type, in bytes.
  • page_token: &str – The token for continuing a previous list request on the next page. This should be set to the value of ‘nextPageToken’ from the previous response.
  • start_modified_time: &str – The minimum value of ‘modifiedTime’ for the result comments (RFC 3339 date-time).

This function performs a GET to the /files/{fileId}/comments endpoint.

As opposed to list, this function returns all the pages of the request at once.

Lists a file’s comments.

This function performs a POST to the /files/{fileId}/comments endpoint.

Creates a new comment on a file.

Parameters:

  • file_id: &str – A link to this theme’s background image.

This function performs a GET to the /files/{fileId}/comments/{commentId} endpoint.

Gets a comment by ID.

Parameters:

  • file_id: &str – A link to this theme’s background image.
  • comment_id: &str – A link to this theme’s background image.
  • include_deleted: bool – Whether to return deleted comments. Deleted comments will not include their original content.

This function performs a DELETE to the /files/{fileId}/comments/{commentId} endpoint.

Deletes a comment.

Parameters:

  • file_id: &str – A link to this theme’s background image.
  • comment_id: &str – A link to this theme’s background image.

This function performs a PATCH to the /files/{fileId}/comments/{commentId} endpoint.

Updates a comment with patch semantics.

Parameters:

  • file_id: &str – A link to this theme’s background image.
  • comment_id: &str – A link to this theme’s background image.

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

Performs the conversion.

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

Performs the conversion.

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.