pub struct Calendar {
pub id: i64,
pub name: String,
pub color: String,
pub description: String,
}Expand description
A CalDAV calendar collection.
The id is the store’s native primary key; the name is what gets exposed
as the URL path segment and <D:displayname> in PROPFIND output.
Fields§
§id: i64Store-native primary key. Surfaces as the FK on every event row.
name: StringURL-safe collection name; also returned as <D:displayname> in PROPFIND.
color: StringCSS-style color (e.g. #ff8800). Returned as <apple:calendar-color>
for client compatibility; empty string means “client picks”.
description: StringFree-form description; returned as <C:calendar-description>.
Trait 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