pub struct EventDraft {
pub summary: String,
pub description: Option<String>,
pub start: String,
pub end: String,
pub time_zone: Option<String>,
pub attendees: Option<Vec<String>>,
}Expand description
Fields written by create and update.
Fields§
§summary: StringSummary. On update, empty keeps the event’s own.
description: Option<String>Description. None writes none on create and keeps the event’s own on
update; Some("") clears it.
start: StringStart, as an ISO-8601 timestamp. On update, empty (with an empty end)
keeps the event’s own times, which is how a series keeps its first start.
end: StringEnd, as an ISO-8601 timestamp. Writers always store this.
time_zone: Option<String>IANA zone name for start and end. None writes UTC or a date; on
update it falls back to the zone the event is already in.
attendees: Option<Vec<String>>Guest addresses. None writes none on create and leaves the event’s
guests alone on update; Some on update is the whole new guest list
(Some(vec![]) removes every guest). iCloud emails each guest an
invitation, an update or a cancellation when the list or the event changes.