pub struct VcardParamNode<'a> {
pub name: VcardLeaf<'a>,
pub values: Vec<VcardLeaf<'a>>,
}Available on crate feature
parser only.Expand description
One raw parameter: a name and its ,-separated raw values (empty when the
parameter has no = list). The syntactic peer of the decoded
VcardParam.
Fields§
§name: VcardLeaf<'a>The parameter name leaf.
values: Vec<VcardLeaf<'a>>The raw value leaves.
Implementations§
Source§impl VcardParamNode<'_>
impl VcardParamNode<'_>
Sourcepub fn decode(&self) -> VcardParam<'_>
pub fn decode(&self) -> VcardParam<'_>
Decode the parameter into a typed parameter, dispatching on the name.
Trait Implementations§
Source§impl<'a> Clone for VcardParamNode<'a>
impl<'a> Clone for VcardParamNode<'a>
Source§fn clone(&self) -> VcardParamNode<'a>
fn clone(&self) -> VcardParamNode<'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 VcardParamNode<'a>
impl<'a> Debug for VcardParamNode<'a>
Auto Trait Implementations§
impl<'a> Freeze for VcardParamNode<'a>
impl<'a> RefUnwindSafe for VcardParamNode<'a>
impl<'a> Send for VcardParamNode<'a>
impl<'a> Sync for VcardParamNode<'a>
impl<'a> Unpin for VcardParamNode<'a>
impl<'a> UnsafeUnpin for VcardParamNode<'a>
impl<'a> UnwindSafe for VcardParamNode<'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