[−][src]Struct geonames_lib::model::GeoName
Соответствие типов полей было проверенно на базе 05.05.2020
Fields
geonameid: i32integer id of record in geonames database
name: Stringname of geographical point (utf8) varchar(200)
asciiname: Option<String>name of geographical point in plain ascii characters, varchar(200)
alternatenames: Vec<String>alternatenames, comma separated, ascii names automatically transliterated, convenience attribute from alternatename table, varchar(10000)
latitude: Decimallatitude in decimal degrees (wgs84)
longitude: Decimallongitude in decimal degrees (wgs84)
feature_class: Option<String>see http://www.geonames.org/export/codes.html, char(1)
feature_code: Option<String>see http://www.geonames.org/export/codes.html, varchar(10)
country_code: Option<String>ISO-3166 2-letter country code, 2 characters
cc2: Option<String>alternate country codes, comma separated, ISO-3166 2-letter country code, 200 characters
admin1_code: Option<String>fipscode (subject to change to iso code), see exceptions below, see file admin1Codes.txt for display names of this code; varchar(20)
admin2_code: Option<String>code for the second administrative division, a county in the US, see file admin2Codes.txt; varchar(80)
admin3_code: Option<String>code for third level administrative division, varchar(20)
admin4_code: Option<String>code for fourth level administrative division, varchar(20)
population: Option<i64>bigint (8 byte int)
elevation: Option<i32>in meters, integer
dem: Stringdigital elevation model, srtm3 or gtopo30, average elevation of 3''x3'' (ca 90mx90m) or 30''x30'' (ca 900mx900m) area in meters, integer. srtm processed by cgiar/ciat.
timezone: Option<String>the iana timezone id (see file timeZone.txt) varchar(40)
modification: DateTime<Utc>date of last modification in yyyy-MM-dd format
Implementations
impl GeoName[src]
pub fn deserialize_from_string(str: &str) -> Result<Self, DeserializeErr>[src]
Receive string example
1485680 Yurty Yurty Jurty,Yurty,Юрты 56.0498 97.6348 P PPL RU 20 5902 301 Asia/Irkutsk 2012-01-17
Trait Implementations
impl Clone for GeoName[src]
impl Debug for GeoName[src]
impl<'de> Deserialize<'de> for GeoName[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Serialize for GeoName[src]
Auto Trait Implementations
impl RefUnwindSafe for GeoName
impl Send for GeoName
impl Sync for GeoName
impl Unpin for GeoName
impl UnwindSafe for GeoName
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,