pub struct ToDo<'a>(_);
Expand description
The “VTODO” calendar component.
A ToDo component is a grouping of component properties, possibly including an Alarm, that represent an action-item or assignment. (see RFC 5545 3.6.2. To-Do Component)
Implementations§
source§impl<'a> ToDo<'a>
impl<'a> ToDo<'a>
sourcepub fn new<U, D>(uid: U, dtstamp: D) -> Selfwhere
U: Into<Cow<'a, str>>,
D: Into<Cow<'a, str>>,
pub fn new<U, D>(uid: U, dtstamp: D) -> Selfwhere
U: Into<Cow<'a, str>>,
D: Into<Cow<'a, str>>,
Creates a new “VTODO” calendar component. The “UID” and “DTSTAMP” properties are required. A UID should be generated random if possible for security reasons.
Trait Implementations§
source§impl<'a> Ord for ToDo<'a>
impl<'a> Ord for ToDo<'a>
source§impl<'a> PartialOrd<ToDo<'a>> for ToDo<'a>
impl<'a> PartialOrd<ToDo<'a>> for ToDo<'a>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more