Module ics::properties
source · [−]Expand description
In the RFC5545 and RFC7986 specified properties except for IANA and non-standard properties (“X”-prefix parameters).
Properties are key-value pairs which can have optionally several parameters. A property forms a content line which is line folded (CRLF + whitespace) after 75 bytes automatically for you.
Additionally, some of them also specify format definitions or defined values. Those are associated functions or constructors.
Example
use ics::components::Property;
use ics::properties::Class;
// Using associated functions should be preferred over using the generic
// constructors whenever possible
let confidential = Class::confidential();
assert_eq!(Class::new("CONFIDENTIAL"), confidential);
assert_eq!(Property::new("CLASS", "CONFIDENTIAL"), confidential.into());
For more information on properties, please refer to the specification RFC5545 3.7. Calendar Properties and RFC7986 5. Properties.
Structs
ACTION
PropertyATTACH
PropertyATTENDEE
PropertyCALSCALE
PropertyCATEGORIES
PropertyCLASS
PropertyCOLOR
PropertyCOMMENT
PropertyCOMPLETED
PropertyCONFERENCE
PropertyCONTACT
PropertyCREATED
PropertyDESCRIPTION
PropertyDTEND
PropertyDTSTAMP
PropertyDTSTART
PropertyDUE
PropertyDURATION
PropertyEXDATE
PropertyFREEBUSY
PropertyGEO
PropertyIMAGE
PropertyLAST-MODIFIED
PropertyLOCATION
PropertyMETHOD
PropertyNAME
PropertyORGANIZER
PropertyPERCENT-COMPLETE
PropertyPRIORITY
PropertyPRODID
PropertyRDATE
PropertyRRULE
PropertyRECURRENCE-ID
PropertyREFRESH-INTERVAL
PropertyRELATED-TO
PropertyREPEAT
PropertyREQUEST-STATUS
PropertyRESOURCES
PropertySEQUENCE
PropertySOURCE
PropertySTATUS
PropertySUMMARY
PropertyTRANSP
PropertyTRIGGER
PropertyTZID
PropertyTZNAME
PropertyTZOFFSETFROM
PropertyTZOFFSETTO
PropertyTZURL
PropertyUID
PropertyURL
PropertyVERSION
Property