pub struct CarrierCode(/* private fields */);Expand description
A carrier: ISO 3166 alpha-3 country code and ITU M.1400 carrier code, e.g. DEU.EKP1.
XSD CarrierCode: [0-9A-Z]{3}\.[0-9A-Z]{1,6}.
Implementations§
Source§impl CarrierCode
impl CarrierCode
Trait Implementations§
Source§impl AsRef<str> for CarrierCode
impl AsRef<str> for CarrierCode
Source§impl Clone for CarrierCode
impl Clone for CarrierCode
Source§impl Debug for CarrierCode
impl Debug for CarrierCode
Source§impl Display for CarrierCode
impl Display for CarrierCode
impl Eq for CarrierCode
Source§impl FromStr for CarrierCode
impl FromStr for CarrierCode
Source§impl Hash for CarrierCode
impl Hash for CarrierCode
Source§impl Ord for CarrierCode
impl Ord for CarrierCode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CarrierCode
impl PartialEq for CarrierCode
Source§impl PartialOrd for CarrierCode
impl PartialOrd for CarrierCode
impl StructuralPartialEq for CarrierCode
Auto Trait Implementations§
impl Forget for CarrierCode
impl Freeze for CarrierCode
impl Move for CarrierCode
impl RefUnwindSafe for CarrierCode
impl Send for CarrierCode
impl Sync for CarrierCode
impl Unpin for CarrierCode
impl UnsafeUnpin for CarrierCode
impl UnwindSafe for CarrierCode
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