Struct normalize_country::CountryRef
source · [−]pub struct CountryRef<'a> {
pub aliases: Option<Vec<&'a str>>,
pub alpha2: &'a str,
pub alpha3: &'a str,
pub fifa: &'a str,
pub ioc: &'a str,
pub iso_name: &'a str,
pub numeric: i32,
pub official: &'a str,
pub short: &'a str,
pub emoji: &'a str,
pub shortcode: &'a str,
}
Fields
aliases: Option<Vec<&'a str>>
alpha2: &'a str
alpha3: &'a str
fifa: &'a str
ioc: &'a str
iso_name: &'a str
numeric: i32
official: &'a str
short: &'a str
emoji: &'a str
shortcode: &'a str
Implementations
sourceimpl<'a> CountryRef<'a>
impl<'a> CountryRef<'a>
Trait Implementations
sourceimpl<'a> Debug for CountryRef<'a>
impl<'a> Debug for CountryRef<'a>
sourceimpl<'de: 'a, 'a> Deserialize<'de> for CountryRef<'a>
impl<'de: 'a, 'a> Deserialize<'de> for CountryRef<'a>
sourcefn 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
sourceimpl<'a> Hash for CountryRef<'a>
impl<'a> Hash for CountryRef<'a>
sourceimpl<'a> Serialize for CountryRef<'a>
impl<'a> Serialize for CountryRef<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for CountryRef<'a>
impl<'a> Send for CountryRef<'a>
impl<'a> Sync for CountryRef<'a>
impl<'a> Unpin for CountryRef<'a>
impl<'a> UnwindSafe for CountryRef<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more