Trait Event

Source
pub trait Event {
    // Required methods
    fn uid(&self) -> &str;
    fn summary(&self) -> &str;
    fn description(&self) -> Option<&str>;
    fn start(&self) -> Option<LooseDateTime>;
    fn end(&self) -> Option<LooseDateTime>;
    fn status(&self) -> Option<EventStatus>;
}
Expand description

Trait representing a calendar event.

Required Methods§

Source

fn uid(&self) -> &str

The unique identifier for the event.

Source

fn summary(&self) -> &str

The summary of the event.

Source

fn description(&self) -> Option<&str>

The description of the event, if available.

Source

fn start(&self) -> Option<LooseDateTime>

The location of the event, if available.

Source

fn end(&self) -> Option<LooseDateTime>

The start date and time of the event, if available.

Source

fn status(&self) -> Option<EventStatus>

The status of the event, if available.

Implementations on Foreign Types§

Source§

impl Event for Event

Implementors§