pub struct IcalComponent<'a> {
pub name: IcalComponentName<'a>,
pub props: Vec<IcalProp<'a>>,
pub components: Vec<IcalComponent<'a>>,
}Expand description
A decoded component: its name, its properties, and its nested components.
Fields§
§name: IcalComponentName<'a>The component name (a known kind, or an unknown name kept verbatim).
props: Vec<IcalProp<'a>>The properties of this component, in source order.
components: Vec<IcalComponent<'a>>The components nested directly within this one, in source order.
Implementations§
Source§impl IcalComponent<'_>
impl IcalComponent<'_>
Sourcepub fn into_owned(self) -> IcalComponent<'static>
pub fn into_owned(self) -> IcalComponent<'static>
The same component, and everything nested in it, with every borrow
replaced by an allocation. See
IcalValue::into_owned.
Trait Implementations§
Source§impl<'a> Clone for IcalComponent<'a>
impl<'a> Clone for IcalComponent<'a>
Source§fn clone(&self) -> IcalComponent<'a>
fn clone(&self) -> IcalComponent<'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<'a> Debug for IcalComponent<'a>
impl<'a> Debug for IcalComponent<'a>
impl<'a> Eq for IcalComponent<'a>
Source§impl<'a> PartialEq for IcalComponent<'a>
impl<'a> PartialEq for IcalComponent<'a>
impl<'a> StructuralPartialEq for IcalComponent<'a>
Auto Trait Implementations§
impl<'a> Freeze for IcalComponent<'a>
impl<'a> RefUnwindSafe for IcalComponent<'a>
impl<'a> Send for IcalComponent<'a>
impl<'a> Sync for IcalComponent<'a>
impl<'a> Unpin for IcalComponent<'a>
impl<'a> UnsafeUnpin for IcalComponent<'a>
impl<'a> UnwindSafe for IcalComponent<'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