pub struct CalendarEvent {Show 32 fields
pub event_id: String,
pub kind: Option<EventKind>,
pub series_id: Option<String>,
pub original_start: Option<String>,
pub original_start_at: Option<String>,
pub is_exception: Option<bool>,
pub title: String,
pub description: Option<String>,
pub location: Option<String>,
pub metadata: Option<Value>,
pub status: Option<EventStatus>,
pub all_day: bool,
pub start: String,
pub end: String,
pub timezone: String,
pub duration_mode: Option<DurationMode>,
pub duration_value: i64,
pub start_at: String,
pub end_at: String,
pub recurrence: Option<Recurrence>,
pub attendees: Vec<CalendarAttendee>,
pub attendee_count: u32,
pub response_status: Option<ResponseStatus>,
pub uid: String,
pub sequence: u32,
pub source: Option<EventSource>,
pub organizer_email: Option<String>,
pub origin_message_id: Option<String>,
pub resource_revision: Option<u64>,
pub etag: Option<String>,
pub created_at: String,
pub updated_at: String,
}Expand description
A calendar event, as the API returns it.
Fields§
§event_id: StringUnique event id.
kind: Option<EventKind>Whether this is a single event, a series definition, or an instance.
series_id: Option<String>The series this instance belongs to, when applicable.
original_start: Option<String>The series’ start this instance shifted from, when moved (RFC 3339).
original_start_at: Option<String>Same as CalendarEvent::original_start, on instance events.
is_exception: Option<bool>Whether this instance deviates from the series.
title: StringEvent title.
description: Option<String>Long description.
location: Option<String>Location, when set.
metadata: Option<Value>Your own JSON stored alongside the event.
status: Option<EventStatus>Confirmation state.
all_day: boolWhether the event lasts all day (then start/end are dates).
start: StringDisplay start (RFC 3339, or a date for all-day events).
end: StringDisplay end.
timezone: StringIANA timezone the event renders in.
duration_mode: Option<DurationMode>How duration_value is interpreted.
duration_value: i64Length in units picked by duration_mode.
start_at: StringAbsolute start (RFC 3339).
end_at: StringAbsolute end (RFC 3339).
recurrence: Option<Recurrence>Recurrence rule, when the event repeats.
attendees: Vec<CalendarAttendee>Invitees and their replies.
attendee_count: u32Number of attendees.
response_status: Option<ResponseStatus>The inbox’s own reply state, when it was invited.
uid: StringiCalendar UID, stable across the series.
sequence: u32iCalendar sequence number, bumped on material changes.
source: Option<EventSource>Whether the event came from the API or an email.
organizer_email: Option<String>Organizer address, when known.
origin_message_id: Option<String>The email message the invite arrived in, when from email.
resource_revision: Option<u64>Monotonic revision, for optimistic concurrency.
etag: Option<String>Opaque revision token for If-Match writes, when returned.
created_at: StringCreation timestamp (RFC 3339).
updated_at: StringLast-update timestamp (RFC 3339).