Struct google_calendar3::api::Colors
source · pub struct Colors {
pub calendar: Option<HashMap<String, ColorDefinition>>,
pub event: Option<HashMap<String, ColorDefinition>>,
pub kind: Option<String>,
pub updated: Option<DateTime<Utc>>,
}
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).
- get colors (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 colorId 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 colorId field. Read-only.
kind: Option<String>
Type of the resource (“calendar#colors”).
updated: Option<DateTime<Utc>>
Last modification time of the color palette (as a RFC3339 timestamp). Read-only.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Colors
impl<'de> Deserialize<'de> for Colors
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl ResponseResult for Colors
Auto Trait Implementations§
impl RefUnwindSafe for Colors
impl Send for Colors
impl Sync for Colors
impl Unpin for Colors
impl UnwindSafe for Colors
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more