Expand description
§Parameters
A decoded parameter and the iCalendar parameter-name vocabulary.
IcalParam is a closed set of the parameters defined by RFC 5545 (and its
extensions), one variant each, plus an Unknown arm
so anything else round-trips. Parameters are few and simple (a text or a
small list), so unlike properties each variant carries its value directly
rather than through a shared value type; the variant itself names the
parameter. A known name is the closed IcalParamKind, reached through
FromStr and Deref; the lens markers in crate::tree::param carry the
kind to match, and the decode registry parses a raw name onto its variant.
This module is pure model: no dependency on crate::tree.
Structs§
- Parse
Ical Param Kind Error - Parse iCalendar parameter kind error.
Enums§
- Ical
Param - A decoded parameter: one known kind, or
Unknownfor anything unmodelled. The list-valued parameters (DELEGATED-FROM,DELEGATED-TO,MEMBER,FEATURE) carry a vector; the rest carry a single value. - Ical
Param Kind - The closed iCalendar parameter-name vocabulary, one fieldless variant per
known parameter. An identity for dispatch and allowed-sets; the open
counterpart that carries the value (and unknown names) is
IcalParam.