pub struct NumberCountry {
pub calling_code: String,
pub country_code: String,
pub display_name: String,
}Fields§
§calling_code: String§country_code: String§display_name: StringImplementations§
Source§impl NumberCountry
impl NumberCountry
pub fn serialize<__S>(
__self: &NumberCountry,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> NumberCountry
impl<'de> NumberCountry
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<NumberCountry, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for NumberCountry
impl Clone for NumberCountry
Source§impl Debug for NumberCountry
impl Debug for NumberCountry
Source§impl<'de> Deserialize<'de> for NumberCountry
impl<'de> Deserialize<'de> for NumberCountry
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NumberCountry
impl RefUnwindSafe for NumberCountry
impl Send for NumberCountry
impl Sync for NumberCountry
impl Unpin for NumberCountry
impl UnsafeUnpin for NumberCountry
impl UnwindSafe for NumberCountry
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