Struct google_calendar3::api::Colors[][src]

pub struct Colors {
    pub calendar: Option<HashMap<String, ColorDefinition>>,
    pub event: Option<HashMap<String, ColorDefinition>>,
    pub kind: Option<String>,
    pub updated: Option<String>,
}

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

calendar: Option<HashMap<String, ColorDefinition>>

A global palette of calendar colors, mapping from the color ID to its definition. A calendarListEntry resource refers to one of these color IDs in its color field. Read-only.

event: Option<HashMap<String, ColorDefinition>>

A global palette of event colors, mapping from the color ID to its definition. An event resource may refer to one of these color IDs in its color field. Read-only.

kind: Option<String>

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

updated: Option<String>

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

Trait Implementations

impl Clone for Colors[src]

impl Debug for Colors[src]

impl Default for Colors[src]

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

impl ResponseResult for Colors[src]

impl Serialize for Colors[src]

Auto Trait Implementations

impl RefUnwindSafe for Colors[src]

impl Send for Colors[src]

impl Sync for Colors[src]

impl Unpin for Colors[src]

impl UnwindSafe for Colors[src]

Blanket Implementations

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

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

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

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

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

impl<T> Instrument 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 = Infallible

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.