pub struct CalendarListEntry {
Show 19 fields pub access_role: Option<String>, pub background_color: Option<String>, pub color_id: Option<String>, pub conference_properties: Option<ConferenceProperties>, pub default_reminders: Option<Vec<EventReminder>>, pub deleted: Option<bool>, pub description: Option<String>, pub etag: Option<String>, pub foreground_color: Option<String>, pub hidden: Option<bool>, pub id: Option<String>, pub kind: Option<String>, pub location: Option<String>, pub notification_settings: Option<CalendarListEntryNotificationSettings>, pub primary: Option<bool>, pub selected: Option<bool>, pub summary: Option<String>, pub summary_override: Option<String>, pub time_zone: 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 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.
§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.

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

§conference_properties: Option<ConferenceProperties>

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

§default_reminders: Option<Vec<EventReminder>>

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

§deleted: Option<bool>

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

§description: Option<String>

Description of the calendar. Optional. Read-only.

§etag: Option<String>

ETag of the resource.

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

§hidden: Option<bool>

Whether the calendar has been hidden from the list. Optional. The attribute is only returned when the calendar is hidden, in which case the value is true.

§id: Option<String>

Identifier of the calendar.

§kind: Option<String>

Type of the resource (“calendar#calendarListEntry”).

§location: Option<String>

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

§notification_settings: Option<CalendarListEntryNotificationSettings>

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

§primary: Option<bool>

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

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

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

Trait Implementations§

source§

impl Clone for CalendarListEntry

source§

fn clone(&self) -> CalendarListEntry

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CalendarListEntry

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for CalendarListEntry

source§

fn default() -> CalendarListEntry

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for CalendarListEntry

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for CalendarListEntry

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl RequestValue for CalendarListEntry

source§

impl ResponseResult for CalendarListEntry

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,