pub struct Subdivision<'a> {
pub geoname_id: Option<u32>,
pub iso_code: Option<&'a str>,
pub names: Option<BTreeMap<&'a str, &'a str>>,
}
Fields
geoname_id: Option<u32>
iso_code: Option<&'a str>
names: Option<BTreeMap<&'a str, &'a str>>
Trait Implementations
sourceimpl<'a> Clone for Subdivision<'a>
impl<'a> Clone for Subdivision<'a>
sourcefn clone(&self) -> Subdivision<'a>
fn clone(&self) -> Subdivision<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for Subdivision<'a>
impl<'a> Debug for Subdivision<'a>
sourceimpl<'de: 'a, 'a> Deserialize<'de> for Subdivision<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Subdivision<'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> Serialize for Subdivision<'a>
impl<'a> Serialize for Subdivision<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Subdivision<'a>
impl<'a> Send for Subdivision<'a>
impl<'a> Sync for Subdivision<'a>
impl<'a> Unpin for Subdivision<'a>
impl<'a> UnwindSafe for Subdivision<'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