Expand description
§Parameters
A decoded parameter and the iCalendar parameter-name vocabulary.
IcalParam is a closed set of the parameters RFC 5545 and its
extensions define, 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. Pure model, no crate::tree dependency.
The default parameter set the property spec starts from lives here too
(COMMON_PARAMS), the contract being model rather than syntax; the
read-and-write lens on each parameter is in crate::tree::param.
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.