Expand description
§Property values
The decoded value of a property, one variant per iCalendar value kind.
IcalValue is the semantic counterpart of a content line’s raw value
(the syntactic IcalValueNode).
Most properties share a small set of kinds: a single text, a text list, a
URI, a date/time, an integer.
The genuinely structured ones get a bespoke type in a submodule here
(geo::IcalGeo, request_status::IcalRequestStatus). Anything the
model does not decode falls back to Unknown, which
keeps the raw components so it round-trips.
These types carry no wire name and no escaping: the name lives on
IcalProp::name, the escaping and framing on
the syntax side, so the decoded model stays free of crate::tree.
Modules§
- binary
- Binary value
- boolean
- Boolean value
- cal_
address - Calendar-address value
- datetime
- Date and time values
- duration
- Duration value
- float
- Float value
- geo
- Geographic-position value
- integer
- Integer value
- period
- Period value
- recur
- Recurrence-rule value
- request_
status - Request-status value
- text
- Text values
- uri
- URI value
- utc_
offset - UTC-offset value
Structs§
- Ical
Unknown Value - An undecoded property value: its unescaped components, in source order. The
property name lives on
IcalProp::name. - Parse
Ical Value Kind Error - Parse iCalendar value kind error.
Enums§
- Ical
Value - A decoded property value: one known kind, or
Unknown(raw) for anything the model does not decode. - Ical
Value Kind - The closed iCalendar value-type vocabulary (RFC 5545 3.3 and extensions),
one fieldless variant per value kind. It is the discriminant of
IcalValue(which also has anUnknownarm outside this closed set) and the currency of the prop spec’s allowed-values sets.