pub struct Calendar {
pub cal_id: u64,
pub name: Box<str>,
pub description: Option<Box<str>>,
pub color: Option<Box<str>>,
pub timezone: Option<Box<str>>,
pub components: Box<str>,
pub ctag: Box<str>,
pub created_at: Timestamp,
pub updated_at: Timestamp,
}Expand description
Calendar collection metadata. Parallels AddressBook.
Fields§
§cal_id: u64§name: Box<str>§description: Option<Box<str>>§color: Option<Box<str>>CSS #RRGGBB hex for client colouring (CalendarServer calendar-color ext).
timezone: Option<Box<str>>Default VTIMEZONE blob, surfaced via CalDAV calendar-timezone.
components: Box<str>Comma-separated component set (VEVENT,VTODO) — powers supported-calendar-component-set.
ctag: Box<str>Collection tag — bumps on any calendar-object mutation (used by CalDAV sync).
created_at: Timestamp§updated_at: TimestampTrait Implementations§
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