Module ics::parameters
source · [−]Expand description
In the RFC5545 and RFC7986 specified parameters except for IANA and non-standard parameters (“X”-prefix parameters).
Parameters are key-value pairs which can specify a property in detail. Some of them also specify format definitions or defined values. Those are either defined as enums or associated constants on their respective parameter.
Example
use ics::components::Parameter;
use ics::parameters::CUType;
// Using associated constants or enums should be preferred over using the
// generic constructors whenever possible
let individual = CUType::INDIVIDUAL;
assert_eq!(CUType::new("INDIVIDUAL"), individual);
assert_eq!(Parameter::new("CUTYPE", "INDIVIDUAL"), individual.into());
For more information on parameters, please refer to the specification RFC5545 3.2. Property Parameters and RFC7986 6. Property Parameters.
Structs
ALTREP
ParameterCN
ParameterCUTYPE
ParameterDELEGATED-FROM
ParameterDELEGATED-TO
ParameterDIR
ParameterDISPLAY
ParameterEMAIL
ParameterFBTYPE
ParameterFEATURE
ParameterFMTTYPE
ParameterLABEL
ParameterLANGUAGE
ParameterMEMBER
ParameterPARTSTAT
ParameterRELTYPE
ParameterROLE
ParameterSENT-BY
ParameterTZID
ParameterVALUE
Parameter