pub struct NameShortCode(/* private fields */);Expand description
A string of type NameShortCode as defined in the EML_NL specification
Called NameShortCodeType in the schema.
Implementations§
Trait Implementations§
Source§impl Clone for NameShortCode
impl Clone for NameShortCode
Source§fn clone(&self) -> NameShortCode
fn clone(&self) -> NameShortCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NameShortCode
impl Debug for NameShortCode
Source§impl Hash for NameShortCode
impl Hash for NameShortCode
Source§impl PartialEq for NameShortCode
impl PartialEq for NameShortCode
Source§impl StringValueData for NameShortCode
impl StringValueData for NameShortCode
Source§type Error = InvalidNameShortCodeError
type Error = InvalidNameShortCodeError
The error type returned when parsing the value from a string fails.
Source§fn parse_from_str(s: &str) -> Result<Self, Self::Error>where
Self: Sized,
fn parse_from_str(s: &str) -> Result<Self, Self::Error>where
Self: Sized,
Parse the value from a string.
Source§fn to_raw_value(&self) -> String
fn to_raw_value(&self) -> String
Convert the value to its raw string representation.
impl Eq for NameShortCode
impl StructuralPartialEq for NameShortCode
Auto Trait Implementations§
impl Freeze for NameShortCode
impl RefUnwindSafe for NameShortCode
impl Send for NameShortCode
impl Sync for NameShortCode
impl Unpin for NameShortCode
impl UnsafeUnpin for NameShortCode
impl UnwindSafe for NameShortCode
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