Skip to main content

ical/tree/param/
mod.rs

1//! # Parameters (syntax side)
2//!
3//! The per-parameter lens contract ([`IcalParamLens`](lens::IcalParamLens)) and
4//! one module per iCalendar parameter, tying a wire name to its decoded shape;
5//! the markers are the type-level keys for
6//! [`IcalLine::param`](crate::tree::line::IcalLine::param). The raw
7//! [`IcalParamNode`](node::IcalParamNode) they read and write is defined
8//! alongside.
9
10pub mod altrep;
11pub mod charset;
12pub mod cn;
13pub mod cutype;
14pub mod delegated_from;
15pub mod delegated_to;
16pub mod derived;
17pub mod dir;
18pub mod display;
19pub mod email;
20pub mod encoding;
21pub mod fbtype;
22pub mod feature;
23pub mod fmttype;
24pub mod gap;
25pub mod label;
26pub mod language;
27pub mod linkrel;
28pub mod member;
29pub mod order;
30pub mod partstat;
31pub mod range;
32pub mod related;
33pub mod reltype;
34pub mod role;
35pub mod rsvp;
36pub mod schedule_agent;
37pub mod schedule_force_send;
38pub mod schedule_status;
39pub mod schema;
40pub mod sent_by;
41pub mod tzid;
42pub mod value;
43
44pub mod lens;
45pub mod node;
46
47use crate::param::IcalParamKind;
48
49/// The default parameters a property may carry, used by the spec for the
50/// uniform majority. Per-property sets refine this where a property allows more
51/// or fewer.
52pub(crate) const COMMON_PARAMS: &[IcalParamKind] = &[
53    IcalParamKind::Value,
54    IcalParamKind::Language,
55    IcalParamKind::AltRep,
56];