pub struct IcalProp<'a> {
pub name: IcalPropName<'a>,
pub params: Vec<IcalParam<'a>>,
pub value: IcalValue<'a>,
}Expand description
A decoded property: its wire name, its parameters, and its decoded value.
Fields§
§name: IcalPropName<'a>The property name (a known kind, or an unknown name kept verbatim).
params: Vec<IcalParam<'a>>The parameters decorating the property.
value: IcalValue<'a>The decoded value.
Implementations§
Source§impl IcalProp<'_>
impl IcalProp<'_>
Sourcepub fn into_owned(self) -> IcalProp<'static>
pub fn into_owned(self) -> IcalProp<'static>
The same property with every borrow replaced by an allocation, so it
outlives the bytes it was decoded from. See
IcalValue::into_owned.
Trait Implementations§
impl<'a> Eq for IcalProp<'a>
impl<'a> StructuralPartialEq for IcalProp<'a>
Auto Trait Implementations§
impl<'a> Freeze for IcalProp<'a>
impl<'a> RefUnwindSafe for IcalProp<'a>
impl<'a> Send for IcalProp<'a>
impl<'a> Sync for IcalProp<'a>
impl<'a> Unpin for IcalProp<'a>
impl<'a> UnsafeUnpin for IcalProp<'a>
impl<'a> UnwindSafe for IcalProp<'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