pub enum CountryCode {
CountryCode(CountryCode),
}Expand description
Variants§
CountryCode(CountryCode)
Trait Implementations§
Source§impl Clone for CountryCode
impl Clone for CountryCode
Source§fn clone(&self) -> CountryCode
fn clone(&self) -> CountryCode
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 CountryCode
impl Debug for CountryCode
Source§impl Deserializable for CountryCode
impl Deserializable for CountryCode
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<CountryCode> for CountryCode
impl From<CountryCode> for CountryCode
Source§fn from(x: CountryCode) -> Self
fn from(x: CountryCode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CountryCode
impl PartialEq for CountryCode
Source§impl Serializable for CountryCode
impl Serializable for CountryCode
Source§impl TryFrom<CountryCode> for CountryCode
impl TryFrom<CountryCode> for CountryCode
Source§type Error = CountryCode
type Error = CountryCode
The type returned in the event of a conversion error.
impl StructuralPartialEq for CountryCode
Auto Trait Implementations§
impl Freeze for CountryCode
impl RefUnwindSafe for CountryCode
impl Send for CountryCode
impl Sync for CountryCode
impl Unpin for CountryCode
impl UnsafeUnpin for CountryCode
impl UnwindSafe for CountryCode
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