pub struct MsgraphCalendar {
pub id: String,
pub name: MsgraphField<String>,
pub color: MsgraphField<String>,
pub hex_color: Option<String>,
pub change_key: Option<String>,
pub can_edit: Option<bool>,
pub is_default_calendar: Option<bool>,
pub is_removable: Option<bool>,
pub owner: Option<MsgraphEmailAddress>,
}Expand description
A calendar of the user. Doubles as the create/update body.
Fields§
§id: StringThe unique identifier of the calendar.
name: MsgraphField<String>The calendar name.
color: MsgraphField<String>The theme colour (auto, lightBlue, lightGreen…).
hex_color: Option<String>The colour as #RRGGBB, read-only.
change_key: Option<String>The version of the calendar, changing with every edit.
can_edit: Option<bool>Whether the user can write to the calendar.
is_default_calendar: Option<bool>Whether this is the user’s default calendar.
is_removable: Option<bool>Whether the calendar can be deleted from the user’s mailbox.
owner: Option<MsgraphEmailAddress>The owner of a shared calendar, or the user.
Trait Implementations§
Source§impl Clone for MsgraphCalendar
impl Clone for MsgraphCalendar
Source§impl Debug for MsgraphCalendar
impl Debug for MsgraphCalendar
Source§impl Default for MsgraphCalendar
impl Default for MsgraphCalendar
Source§impl<'de> Deserialize<'de> for MsgraphCalendar
impl<'de> Deserialize<'de> for MsgraphCalendar
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 Eq for MsgraphCalendar
Source§impl PartialEq for MsgraphCalendar
impl PartialEq for MsgraphCalendar
Source§impl Serialize for MsgraphCalendar
impl Serialize for MsgraphCalendar
impl StructuralPartialEq for MsgraphCalendar
Auto Trait Implementations§
impl Freeze for MsgraphCalendar
impl RefUnwindSafe for MsgraphCalendar
impl Send for MsgraphCalendar
impl Sync for MsgraphCalendar
impl Unpin for MsgraphCalendar
impl UnsafeUnpin for MsgraphCalendar
impl UnwindSafe for MsgraphCalendar
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