pub trait EventLike: Component {
// Provided methods
fn starts<T: Into<DatePerhapsTime>>(&mut self, dt: T) -> &mut Self { ... }
fn remove_starts(&mut self) -> &mut Self { ... }
fn ends<T: Into<DatePerhapsTime>>(&mut self, dt: T) -> &mut Self { ... }
fn remove_ends(&mut self) -> &mut Self { ... }
fn recurrence_id<T: Into<DatePerhapsTime>>(&mut self, dt: T) -> &mut Self { ... }
fn remove_recurrence_id(&mut self) -> &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 remove_location(&mut self) -> &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 remove_starts(&mut self) -> &mut Self
fn remove_starts(&mut self) -> &mut Self
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 remove_ends(&mut self) -> &mut Self
fn remove_ends(&mut self) -> &mut Self
Sourcefn recurrence_id<T: Into<DatePerhapsTime>>(&mut self, dt: T) -> &mut Self
fn recurrence_id<T: Into<DatePerhapsTime>>(&mut self, dt: T) -> &mut Self
Sets the RECURRENCE-ID
property.
See DatePerhapsTime for info how are different chrono types converted automatically.
Sourcefn remove_recurrence_id(&mut self) -> &mut Self
fn remove_recurrence_id(&mut self) -> &mut Self
Removes the RECURRENCE-ID
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 remove_location(&mut self) -> &mut Self
fn remove_location(&mut self) -> &mut Self
Removes the LOCATION with a VVENUE UID
Sourcefn get_location(&self) -> Option<&str>
fn get_location(&self) -> Option<&str>
Gets the location
Sourcefn alarm<A: Into<Alarm>>(&mut self, alarm: A) -> &mut Self
fn alarm<A: Into<Alarm>>(&mut self, alarm: A) -> &mut Self
Set the ALARM for this event 3.6.6. Alarm Component
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.