pub struct EventItem {
pub identifier: String,
pub title: String,
pub notes: Option<String>,
pub location: Option<String>,
pub start_date: DateTime<Local>,
pub end_date: DateTime<Local>,
pub all_day: bool,
pub calendar_title: Option<String>,
}Expand description
Represents a calendar event with its properties
Fields§
§identifier: StringUnique identifier for the event
title: StringTitle of the event
notes: Option<String>Optional notes/description
location: Option<String>Optional location
start_date: DateTime<Local>Start date/time
end_date: DateTime<Local>End date/time
all_day: boolWhether this is an all-day event
calendar_title: Option<String>Calendar the event belongs to
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventItem
impl RefUnwindSafe for EventItem
impl Send for EventItem
impl Sync for EventItem
impl Unpin for EventItem
impl UnwindSafe for EventItem
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