[][src]Struct google_calendar3::CalendarListEntry

pub struct CalendarListEntry {
    pub notification_settings: Option<CalendarListEntryNotificationSettings>,
    pub description: Option<String>,
    pub deleted: Option<bool>,
    pub primary: Option<bool>,
    pub conference_properties: Option<ConferenceProperties>,
    pub access_role: Option<String>,
    pub id: Option<String>,
    pub kind: Option<String>,
    pub foreground_color: Option<String>,
    pub default_reminders: Option<Vec<EventReminder>>,
    pub color_id: Option<String>,
    pub selected: Option<bool>,
    pub summary: Option<String>,
    pub etag: Option<String>,
    pub location: Option<String>,
    pub background_color: Option<String>,
    pub summary_override: Option<String>,
    pub time_zone: Option<String>,
    pub hidden: Option<bool>,
}

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

notification_settings: Option<CalendarListEntryNotificationSettings>

The notifications that the authenticated user is receiving for this calendar.

description: Option<String>

Description of the calendar. Optional. Read-only.

deleted: Option<bool>

Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.

primary: Option<bool>

Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False.

conference_properties: Option<ConferenceProperties>

Conferencing properties for this calendar, for example what types of conferences are allowed.

access_role: Option<String>

The effective access role that the authenticated user has on the calendar. Read-only. Possible values are:

  • "freeBusyReader" - Provides read access to free/busy information.
  • "reader" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
  • "writer" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible.
  • "owner" - Provides ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs.
id: Option<String>

Identifier of the calendar.

kind: Option<String>

Type of the resource ("calendar#calendarListEntry").

foreground_color: Option<String>

The foreground color of the calendar in the hexadecimal format "#ffffff". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional.

default_reminders: Option<Vec<EventReminder>>

The default reminders that the authenticated user has for this calendar.

color_id: Option<String>

The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). This property is superseded by the backgroundColor and foregroundColor properties and can be ignored when using these properties. Optional.

selected: Option<bool>

Whether the calendar content shows up in the calendar UI. Optional. The default is False.

summary: Option<String>

Title of the calendar. Read-only.

etag: Option<String>

ETag of the resource.

location: Option<String>

Geographic location of the calendar as free-form text. Optional. Read-only.

background_color: Option<String>

The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional.

summary_override: Option<String>

The summary that the authenticated user has set for this calendar. Optional.

time_zone: Option<String>

The time zone of the calendar. Optional. Read-only.

hidden: Option<bool>

Whether the calendar has been hidden from the list. Optional. The default is False.

Trait Implementations

impl ResponseResult for CalendarListEntry[src]

impl RequestValue for CalendarListEntry[src]

impl Clone for CalendarListEntry[src]

impl Default for CalendarListEntry[src]

impl Debug for CalendarListEntry[src]

impl Serialize for CalendarListEntry[src]

impl<'de> Deserialize<'de> for CalendarListEntry[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]