Struct cities_json::City
source · pub struct City {
pub country: String,
pub name: String,
pub lat: f64,
pub lng: f64,
pub admin1: String,
pub admin2: String,
}
Fields§
§country: String
§name: String
§lat: f64
§lng: f64
§admin1: String
§admin2: String
Trait 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 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