Struct google_calendar::settings::Settings[][src]

pub struct Settings {
    pub client: Client,
}

Fields

client: Client

Implementations

This function performs a GET to the /users/me/settings endpoint.

Returns all user settings for the authenticated user.

Parameters:

  • max_results: i64 – Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.
  • page_token: &str – Token specifying which result page to return. Optional.
  • sync_token: &str – Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken. Learn more about incremental synchronization. Optional. The default is to return all entries.

This function performs a GET to the /users/me/settings endpoint.

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

Returns all user settings for the authenticated user.

This function performs a POST to the /users/me/settings/watch endpoint.

Watch for changes to Settings resources.

Parameters:

  • max_results: i64 – Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.
  • page_token: &str – Token specifying which result page to return. Optional.
  • sync_token: &str – Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken. Learn more about incremental synchronization. Optional. The default is to return all entries.

This function performs a GET to the /users/me/settings/{setting} endpoint.

Returns a single user setting.

Parameters:

  • setting: &str – The id of the user setting.

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.