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<DatePerhapsTime>;
    fn end(&self) -> Option<DatePerhapsTime>;
    fn status(&self) -> Option<&str>;
}
Expand description

Trait representing a calendar event.

Required Methods§

Source

fn uid(&self) -> &str

Returns the unique identifier for the event.

Source

fn summary(&self) -> &str

Returns the summary of the event.

Source

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

Returns the description of the event, if available.

Source

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

Returns the location of the event, if available.

Source

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

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

Source

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

Returns the status of the event, if available.

Implementors§