pub struct VcardTextList<'a>(pub Vec<Cow<'a, str>>);Expand description
A decoded comma-separated text list (each item unescaped).
Tuple Fields§
§0: Vec<Cow<'a, str>>Trait Implementations§
Source§impl<'a> Clone for VcardTextList<'a>
impl<'a> Clone for VcardTextList<'a>
Source§fn clone(&self) -> VcardTextList<'a>
fn clone(&self) -> VcardTextList<'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 VcardTextList<'a>
impl<'a> Debug for VcardTextList<'a>
Source§impl<'a> Default for VcardTextList<'a>
impl<'a> Default for VcardTextList<'a>
Source§fn default() -> VcardTextList<'a>
fn default() -> VcardTextList<'a>
Returns the “default value” for a type. Read more
impl<'a> Eq for VcardTextList<'a>
Source§impl<'a> PartialEq for VcardTextList<'a>
impl<'a> PartialEq for VcardTextList<'a>
impl<'a> StructuralPartialEq for VcardTextList<'a>
Source§impl<'v> VcardCodec<'v> for VcardTextList<'v>
Available on crate feature parser only.
impl<'v> VcardCodec<'v> for VcardTextList<'v>
Available on crate feature
parser only.Source§fn decode(node: &'v VcardValueNode<'_>) -> Self
fn decode(node: &'v VcardValueNode<'_>) -> Self
Decode the value from a syntax node.
Source§fn encode(&self, escaper: VcardEscaper) -> VcardValueNode<'static>
fn encode(&self, escaper: VcardEscaper) -> VcardValueNode<'static>
Encode the value into a syntax node for the given escaping mode.
Auto Trait Implementations§
impl<'a> Freeze for VcardTextList<'a>
impl<'a> RefUnwindSafe for VcardTextList<'a>
impl<'a> Send for VcardTextList<'a>
impl<'a> Sync for VcardTextList<'a>
impl<'a> Unpin for VcardTextList<'a>
impl<'a> UnsafeUnpin for VcardTextList<'a>
impl<'a> UnwindSafe for VcardTextList<'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