pub struct ListCountriesResponseItem {
pub code: String,
pub name: String,
}
Expand description
A single country item from the ListCountries
request
Fields§
§code: String
The ISO country code
name: String
An English “pretty” representation of the country name, e.g.:
- Afghanistan
- China
- New Zealand
Trait Implementations§
Source§impl Debug for ListCountriesResponseItem
impl Debug for ListCountriesResponseItem
Source§impl<'de> Deserialize<'de> for ListCountriesResponseItem
impl<'de> Deserialize<'de> for ListCountriesResponseItem
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 ListCountriesResponseItem
impl RefUnwindSafe for ListCountriesResponseItem
impl Send for ListCountriesResponseItem
impl Sync for ListCountriesResponseItem
impl Unpin for ListCountriesResponseItem
impl UnwindSafe for ListCountriesResponseItem
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