pub struct City {
pub name: String,
pub country_code: String,
pub country: String,
pub region: String,
pub subregion: String,
pub timezone: String,
pub population: u64,
pub lat: f64,
pub lon: f64,
}Expand description
A city entry from the geolocation database.
Fields§
§name: String§country_code: String§country: String§region: String§subregion: String§timezone: String§population: u64§lat: f64§lon: f64Trait Implementations§
Auto Trait Implementations§
impl Freeze for City
impl RefUnwindSafe for City
impl Send for City
impl Sync for City
impl Unpin for City
impl UnsafeUnpin for City
impl UnwindSafe for City
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