pub struct VcardUtcOffset<'a>(pub Cow<'a, str>);Expand description
A decoded UTC-offset value (signed hhmm), kept as its raw text.
Tuple Fields§
§0: Cow<'a, str>Trait Implementations§
Source§impl<'a> Clone for VcardUtcOffset<'a>
impl<'a> Clone for VcardUtcOffset<'a>
Source§fn clone(&self) -> VcardUtcOffset<'a>
fn clone(&self) -> VcardUtcOffset<'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 VcardUtcOffset<'a>
impl<'a> Debug for VcardUtcOffset<'a>
Source§impl<'a> Default for VcardUtcOffset<'a>
impl<'a> Default for VcardUtcOffset<'a>
Source§fn default() -> VcardUtcOffset<'a>
fn default() -> VcardUtcOffset<'a>
Returns the “default value” for a type. Read more
impl<'a> Eq for VcardUtcOffset<'a>
Source§impl<'a> From<&'a str> for VcardUtcOffset<'a>
impl<'a> From<&'a str> for VcardUtcOffset<'a>
Source§impl From<String> for VcardUtcOffset<'_>
impl From<String> for VcardUtcOffset<'_>
Source§impl<'a> PartialEq for VcardUtcOffset<'a>
impl<'a> PartialEq for VcardUtcOffset<'a>
impl<'a> StructuralPartialEq for VcardUtcOffset<'a>
Source§impl<'v> VcardCodec<'v> for VcardUtcOffset<'v>
Available on crate feature parser only.
impl<'v> VcardCodec<'v> for VcardUtcOffset<'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 VcardUtcOffset<'a>
impl<'a> RefUnwindSafe for VcardUtcOffset<'a>
impl<'a> Send for VcardUtcOffset<'a>
impl<'a> Sync for VcardUtcOffset<'a>
impl<'a> Unpin for VcardUtcOffset<'a>
impl<'a> UnsafeUnpin for VcardUtcOffset<'a>
impl<'a> UnwindSafe for VcardUtcOffset<'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