pub struct Events {
    pub access_role: Option<String>,
    pub default_reminders: Option<Vec<EventReminder>>,
    pub description: Option<String>,
    pub etag: Option<String>,
    pub items: Option<Vec<Event>>,
    pub kind: Option<String>,
    pub next_page_token: Option<String>,
    pub next_sync_token: Option<String>,
    pub summary: Option<String>,
    pub time_zone: Option<String>,
    pub updated: Option<String>,
}
Expand description

There is no detailed description.

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

access_role: Option<String>

The user’s access role for this calendar. Read-only. Possible values are:

  • “none” - The user has no access.
  • “freeBusyReader” - The user has read access to free/busy information.
  • “reader” - The user has read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
  • “writer” - The user has read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible.
  • “owner” - The user has ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs.
default_reminders: Option<Vec<EventReminder>>

The default reminders on the calendar for the authenticated user. These reminders apply to all events on this calendar that do not explicitly override them (i.e. do not have reminders.useDefault set to True).

description: Option<String>

Description of the calendar. Read-only.

etag: Option<String>

ETag of the collection.

items: Option<Vec<Event>>

List of events on the calendar.

kind: Option<String>

Type of the collection (“calendar#events”).

next_page_token: Option<String>

Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided.

next_sync_token: Option<String>

Token used at a later point in time to retrieve only the entries that have changed since this result was returned. Omitted if further results are available, in which case nextPageToken is provided.

summary: Option<String>

Title of the calendar. Read-only.

time_zone: Option<String>

The time zone of the calendar. Read-only.

updated: Option<String>

Last modification time of the calendar (as a RFC3339 timestamp). Read-only.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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