pub struct Calendar {
pub inbox_id: String,
pub timezone: String,
pub event_count: u64,
pub created_at: String,
pub updated_at: String,
pub etag: String,
}Expand description
An inbox’s calendar, from get_calendar / update_calendar.
Fields§
§inbox_id: StringThe inbox the calendar belongs to.
timezone: StringIANA timezone the calendar renders in, e.g. America/New_York.
event_count: u64Number of events on the calendar.
created_at: StringCreation timestamp (RFC 3339).
updated_at: StringLast-update timestamp (RFC 3339).
etag: StringOpaque revision token; pass it as etag on writes to reject
concurrent modifications (428 otherwise).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Calendar
impl<'de> Deserialize<'de> for Calendar
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
Auto Trait Implementations§
impl Freeze for Calendar
impl RefUnwindSafe for Calendar
impl Send for Calendar
impl Sync for Calendar
impl Unpin for Calendar
impl UnsafeUnpin for Calendar
impl UnwindSafe for Calendar
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