Struct ipinfo::CountryCurrency
source · pub struct CountryCurrency {
pub code: String,
pub symbol: String,
}
Expand description
CountryCurrency details.
Fields§
§code: String
§symbol: String
Trait Implementations§
source§impl Clone for CountryCurrency
impl Clone for CountryCurrency
source§fn clone(&self) -> CountryCurrency
fn clone(&self) -> CountryCurrency
Returns a copy 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 CountryCurrency
impl Debug for CountryCurrency
source§impl<'de> Deserialize<'de> for CountryCurrency
impl<'de> Deserialize<'de> for CountryCurrency
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
source§impl PartialEq for CountryCurrency
impl PartialEq for CountryCurrency
source§impl Serialize for CountryCurrency
impl Serialize for CountryCurrency
impl StructuralPartialEq for CountryCurrency
Auto Trait Implementations§
impl Freeze for CountryCurrency
impl RefUnwindSafe for CountryCurrency
impl Send for CountryCurrency
impl Sync for CountryCurrency
impl Unpin for CountryCurrency
impl UnwindSafe for CountryCurrency
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)