pub struct EventItem {Show 22 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 creation_date: Option<DateTime<Local>>,
pub last_modified_date: Option<DateTime<Local>>,
pub external_identifier: Option<String>,
pub timezone: Option<String>,
pub attachments_count: usize,
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
creation_date: Option<DateTime<Local>>Date the event was first created (EKCalendarItem.creationDate).
last_modified_date: Option<DateTime<Local>>Date the event was last modified (EKCalendarItem.lastModifiedDate).
external_identifier: Option<String>Server-provided external identifier (EKCalendarItem.calendarItemExternalIdentifier).
timezone: Option<String>Item-level timezone (EKCalendarItem.timeZone). Distinct from the
start/end date timezones — this is the event’s own zone hint.
attachments_count: usizeNumber of file attachments on the event (bound-less today — just the count).
attendees: Vec<ParticipantInfo>Attendees
organizer: Option<ParticipantInfo>Event organizer