pub struct Event<'a> { /* private fields */ }
Expand description
The VEVENT
calendar component
An Event
component is a grouping of component properties, possibly
including an Alarm
, that represents a scheduled amount of time on a
calendar. (see RFC5545 3.6.1. Event Component)
Implementations§
Source§impl<'a> Event<'a>
impl<'a> Event<'a>
Sourcepub fn new<U, D>(uid: U, dtstamp: D) -> Self
pub fn new<U, D>(uid: U, dtstamp: D) -> Self
Creates a new VEVENT
calendar component. The UID
and DTSTAMP
properties are required. A UID
should be generated randomly for
security reasons.
Trait Implementations§
Source§impl<'a> Ord for Event<'a>
impl<'a> Ord for Event<'a>
Source§impl<'a> PartialOrd for Event<'a>
impl<'a> PartialOrd for Event<'a>
impl<'a> Eq for Event<'a>
impl<'a> StructuralPartialEq for Event<'a>
Auto Trait Implementations§
impl<'a> Freeze for Event<'a>
impl<'a> RefUnwindSafe for Event<'a>
impl<'a> Send for Event<'a>
impl<'a> Sync for Event<'a>
impl<'a> Unpin for Event<'a>
impl<'a> UnwindSafe for Event<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more