pub struct IcalDateTimeList<'a>(pub Vec<Cow<'a, str>>);Expand description
A decoded comma-separated list of date-ish values, each kept as raw text.
Backs RDATE and EXDATE, which RFC 5545 3.8.5.1 and 3.8.5.2 define as
lists rather than single values. An item is a DATE, a DATE-TIME or (for
RDATE) a PERIOD, whichever the VALUE parameter declares, kept exactly
as written so a period keeps its start/end or start/duration form.
Tuple Fields§
§0: Vec<Cow<'a, str>>Trait Implementations§
Source§impl<'a> Clone for IcalDateTimeList<'a>
impl<'a> Clone for IcalDateTimeList<'a>
Source§fn clone(&self) -> IcalDateTimeList<'a>
fn clone(&self) -> IcalDateTimeList<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'v> Codec<'v> for IcalDateTimeList<'v>
Available on crate feature parser only.
impl<'v> Codec<'v> for IcalDateTimeList<'v>
Available on crate feature
parser only.Source§fn decode(node: &'v IcalValueNode<'_>) -> Self
fn decode(node: &'v IcalValueNode<'_>) -> Self
Decode the value from a syntax node.
Source§fn encode(&self, escaper: Escaper) -> IcalValueNode<'static>
fn encode(&self, escaper: Escaper) -> IcalValueNode<'static>
Encode the value into a syntax node for the given escaping mode.
Source§impl<'a> Debug for IcalDateTimeList<'a>
impl<'a> Debug for IcalDateTimeList<'a>
Source§impl<'a> Default for IcalDateTimeList<'a>
impl<'a> Default for IcalDateTimeList<'a>
Source§fn default() -> IcalDateTimeList<'a>
fn default() -> IcalDateTimeList<'a>
Returns the “default value” for a type. Read more
impl<'a> Eq for IcalDateTimeList<'a>
Source§impl<'a> PartialEq for IcalDateTimeList<'a>
impl<'a> PartialEq for IcalDateTimeList<'a>
impl<'a> StructuralPartialEq for IcalDateTimeList<'a>
Auto Trait Implementations§
impl<'a> Freeze for IcalDateTimeList<'a>
impl<'a> RefUnwindSafe for IcalDateTimeList<'a>
impl<'a> Send for IcalDateTimeList<'a>
impl<'a> Sync for IcalDateTimeList<'a>
impl<'a> Unpin for IcalDateTimeList<'a>
impl<'a> UnsafeUnpin for IcalDateTimeList<'a>
impl<'a> UnwindSafe for IcalDateTimeList<'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