pub struct EventItem {Show 17 fields
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>,
pub calendar_id: Option<String>,
pub url: Option<String>,
pub availability: EventAvailability,
pub status: EventStatus,
pub is_detached: bool,
pub occurrence_date: Option<DateTime<Local>>,
pub structured_location: Option<StructuredLocation>,
pub attendees: Vec<ParticipantInfo>,
pub organizer: Option<ParticipantInfo>,
}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 (string)
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
calendar_id: Option<String>Calendar identifier
url: Option<String>URL associated with the event
availability: EventAvailabilityAvailability for scheduling
status: EventStatusEvent status (read-only)
is_detached: boolWhether this occurrence was modified from its recurring series
occurrence_date: Option<DateTime<Local>>Original date in a recurring series
structured_location: Option<StructuredLocation>Geo-coordinate location
attendees: Vec<ParticipantInfo>Attendees
organizer: Option<ParticipantInfo>Event organizer
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 UnsafeUnpin 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