[][src]Module ics::properties

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

CTION Property

Attach

TTACH Property

Attendee

TTENDEE Property

CalScale

ALSCALE Property

Categories

ATEGORIES Property

Class

LASS Property

Color

OLOR Property

Comment

OMMENT Property

Completed

OMPLETED Property

Conference

CONFERENCE Property Newer properties that have a different value type than TEXT have to include the "VALUE" parameter. This property already contains "VALUE: URI , do not add this parameter manually.

Contact

ONTACT Property

Created

REATED Property

Description

ESCRIPTION Property

DtEnd

TEND Property

DtStamp

TSTAMP Property

DtStart

TSTART Property

Due

UE Property

Duration

URATION Property

ExDate

XDATE Property

FreeBusyTime

REEBUSY Property

Geo

EO Property

Image

IMAGE Property

LastModified

AST-MODIFIED Property

Location

OCATION Property

Method

ETHOD Property

Name

AME Property

Organizer

RGANIZER Property

PercentComplete

ERCENT-COMPLETE Property

Priority

RIORITY Property

ProdID

RODID Property

RDate

DATE Property

RRule

RULE Property

RecurrenceID

ECURRENCE-ID Property

RefreshInterval

REFRESH-INTERVAL Property Newer properties that have a different value type than TEXT have to include the "VALUE" parameter. This property already contains "VALUE: DURATION , do not add this parameter manually.

RelatedTo

ELATED-TO Property

Repeat

EPEAT Property

RequestStatus

EQUEST-STATUS Property

Resources

ESOURCES Property

Sequence

EQUENCE Property

Source

SOURCE Property Newer properties that have a different value type than TEXT have to include the "VALUE" parameter. This property already contains "VALUE: URI , do not add this parameter manually.

Status

TATUS Property

Summary

UMMARY Property

Transp

RANSP Property

Trigger

RIGGER Property

TzID

ZID Property

TzName

ZNAME Property

TzOffsetFrom

ZOFFSETFROM Property

TzOffsetTo

ZOFFSETTO Property

TzURL

ZURL Property

UID

ID Property

URL

RL Property

Version

ERSION Property