Crate ical_property

Crate ical_property 

Source
Expand description

§Ical Property

This crate is an addition to the ical crate. It takes an ical::IcalEvent and derives an ical_property::Event. The ical::IcalEvent has properties, but they are more or less a Vec<(&str, &str)>, which makes it tedious to obtain information from it.

The the heart of this crate, is the ical_property::Event. It should contain all fields, an entry in a typical ical calender has, like uid, summary, attendees, information about recurrence, etc. The Event struct implements TryFrom for ical::IcalEvent.

Structs§

Event
Heart of this crate. It is supposed to define an event as described in RFC 5545, but with fitting datatypes.

Enums§

DateMaybeTime
Events can either happen at a date or a date time.
EventStatus
When inviting others, an Event can be tentative, confirmed or cancelled.
EventTransparency
Whether an event is blocking a time interval in the calender.