[][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

ACTION Property

Attach

ATTACH Property

Attendee

ATTENDEE Property

CalScale

CALSCALE Property

Categories

CATEGORIES Property

Class

CLASS Property

Color

COLOR Property

Comment

COMMENT Property

Completed

COMPLETED Property

Conference

CONFERENCE Property

Contact

CONTACT Property

Created

CREATED Property

Description

DESCRIPTION Property

DtEnd

DTEND Property

DtStamp

DTSTAMP Property

DtStart

DTSTART Property

Due

DUE Property

Duration

DURATION Property

ExDate

EXDATE Property

FreeBusyTime

FREEBUSY Property

Geo

GEO Property

Image

IMAGE Property

LastModified

LAST-MODIFIED Property

Location

LOCATION Property

Method

METHOD Property

Name

NAME Property

Organizer

ORGANIZER Property

PercentComplete

PERCENT-COMPLETE Property

Priority

PRIORITY Property

ProdID

PRODID Property

RDate

RDATE Property

RRule

RRULE Property

RecurrenceID

RECURRENCE-ID Property

RefreshInterval

REFRESH-INTERVAL Property

RelatedTo

RELATED-TO Property

Repeat

REPEAT Property

RequestStatus

REQUEST-STATUS Property

Resources

RESOURCES Property

Sequence

SEQUENCE Property

Source

SOURCE Property

Status

STATUS Property

Summary

SUMMARY Property

Transp

TRANSP Property

Trigger

TRIGGER Property

TzID

TZID Property

TzName

TZNAME Property

TzOffsetFrom

TZOFFSETFROM Property

TzOffsetTo

TZOFFSETTO Property

TzURL

TZURL Property

UID

UID Property

URL

URL Property

Version

VERSION Property