pub struct Event {
pub uid: String,
pub etag: String,
pub icalendar: String,
pub summary: String,
pub dtstart: Option<DateTime<Utc>>,
pub dtend: Option<DateTime<Utc>>,
}Expand description
A single VEVENT (or other VCOMPONENT) stored under a calendar.
The raw icalendar text is kept as the canonical form; structured fields
(summary, dtstart, dtend) are projections used for query/reporting
performance and may be re-derived from the raw text by the store.
Fields§
§uid: StringiCalendar UID property — globally unique per RFC 5545 §3.8.4.7.
Doubles as the URL path segment in /dav/.../events/{uid}.ics.
etag: StringStrong validator returned as the ETag HTTP header and on
getetag PROPFIND queries. Stable for as long as the body bytes are
unchanged.
icalendar: StringVerbatim RFC 5545 iCalendar text — the canonical form. PUT bodies round-trip unchanged through GET so client VTIMEZONE / X-* extensions survive.
summary: StringProjection of the iCalendar SUMMARY property; safe for listing UIs.
dtstart: Option<DateTime<Utc>>Projection of DTSTART (UTC-normalised). None when the event lacks a
start time (rare; e.g. floating VTODO).
dtend: Option<DateTime<Utc>>Projection of DTEND (UTC-normalised). None for instantaneous events
or VTODO entries without an end.