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§
Sourcefn description(&self) -> Option<&str>
fn description(&self) -> Option<&str>
Returns the description of the event, if available.
Sourcefn start(&self) -> Option<DatePerhapsTime>
fn start(&self) -> Option<DatePerhapsTime>
Returns the location of the event, if available.
Sourcefn end(&self) -> Option<DatePerhapsTime>
fn end(&self) -> Option<DatePerhapsTime>
Returns the start date and time of the event, if available.