pub struct IcalPropPath<'a> {
pub component: IcalComponentPath<'a>,
pub name: Cow<'a, str>,
pub index: usize,
pub identity: Option<Cow<'a, str>>,
}parser only.Expand description
One property’s address: the component holding it, its name, and what tells it from the component’s other properties of that name.
Fields§
§component: IcalComponentPath<'a>The component the property belongs to.
name: Cow<'a, str>The property name as written.
index: usizeThe position among the component’s properties of that name, counted in the calendar the action was read from.
identity: Option<Cow<'a, str>>The value that tells the property from its same-named siblings.
Where iCalendar gives it one: the calendar user address of an
ATTENDEE, the URI or inline binary of an ATTACH, the UID a
RELATED-TO points at, the URI of a CONFERENCE or an IMAGE.
Lowercased, since matching normalises and writing is exact.
None for every other property, whose position then tells it from its
siblings, and None too for a value a same-named sibling repeats,
which tells neither of them apart.
Trait Implementations§
Source§impl<'a> Clone for IcalPropPath<'a>
impl<'a> Clone for IcalPropPath<'a>
Source§fn clone(&self) -> IcalPropPath<'a>
fn clone(&self) -> IcalPropPath<'a>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more