pub struct GeoSubregion {
pub code: u16,
pub name: String,
pub region_code: u16,
}Expand description
A UN M49 sub-region.
Fields§
§code: u16UN M49 sub-region code.
name: StringEnglish name.
region_code: u16The region it belongs to.
Trait Implementations§
Source§impl Clone for GeoSubregion
impl Clone for GeoSubregion
Source§fn clone(&self) -> GeoSubregion
fn clone(&self) -> GeoSubregion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GeoSubregion
impl Debug for GeoSubregion
Source§impl<'de> Deserialize<'de> for GeoSubregion
impl<'de> Deserialize<'de> for GeoSubregion
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
impl Eq for GeoSubregion
Source§impl PartialEq for GeoSubregion
impl PartialEq for GeoSubregion
Source§impl Serialize for GeoSubregion
impl Serialize for GeoSubregion
impl StructuralPartialEq for GeoSubregion
Auto Trait Implementations§
impl Freeze for GeoSubregion
impl RefUnwindSafe for GeoSubregion
impl Send for GeoSubregion
impl Sync for GeoSubregion
impl Unpin for GeoSubregion
impl UnsafeUnpin for GeoSubregion
impl UnwindSafe for GeoSubregion
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.