pub trait EventLike: Component {
// Provided methods
fn starts<T: Into<DatePerhapsTime>>(&mut self, dt: T) -> &mut Self { ... }
fn ends<T: Into<DatePerhapsTime>>(&mut self, dt: T) -> &mut Self { ... }
fn all_day(&mut self, date: NaiveDate) -> &mut Self { ... }
fn venue(&mut self, location: &str, venue_uid: &str) -> &mut Self { ... }
fn location(&mut self, location: &str) -> &mut Self { ... }
fn get_location(&self) -> Option<&str> { ... }
fn alarm<A: Into<Alarm>>(&mut self, alarm: A) -> &mut Self { ... }
}
Provided Methods§
sourcefn starts<T: Into<DatePerhapsTime>>(&mut self, dt: T) -> &mut Self
fn starts<T: Into<DatePerhapsTime>>(&mut self, dt: T) -> &mut Self
See DatePerhapsTime
for info how are different chrono
types converted automatically.
sourcefn ends<T: Into<DatePerhapsTime>>(&mut self, dt: T) -> &mut Self
fn ends<T: Into<DatePerhapsTime>>(&mut self, dt: T) -> &mut Self
See DatePerhapsTime
for info how are different chrono
types converted automatically.
sourcefn venue(&mut self, location: &str, venue_uid: &str) -> &mut Self
fn venue(&mut self, location: &str, venue_uid: &str) -> &mut Self
Set the LOCATION with a VVENUE UID iCalender venue draft
sourcefn get_location(&self) -> Option<&str>
fn get_location(&self) -> Option<&str>
Gets the location
Object Safety§
This trait is not object safe.