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