pub struct VcardOrg<'a>(pub Vec<Cow<'a, str>>);Expand description
The decoded ORG value: organization units, broadest first.
Tuple Fields§
§0: Vec<Cow<'a, str>>Trait Implementations§
impl<'a> Eq for VcardOrg<'a>
impl<'a> StructuralPartialEq for VcardOrg<'a>
Source§impl<'v> VcardCodec<'v> for VcardOrg<'v>
Available on crate feature parser only.
impl<'v> VcardCodec<'v> for VcardOrg<'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 VcardOrg<'a>
impl<'a> RefUnwindSafe for VcardOrg<'a>
impl<'a> Send for VcardOrg<'a>
impl<'a> Sync for VcardOrg<'a>
impl<'a> Unpin for VcardOrg<'a>
impl<'a> UnsafeUnpin for VcardOrg<'a>
impl<'a> UnwindSafe for VcardOrg<'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