pub struct Location {
pub city: String,
pub state_province_region: String,
pub country: String,
pub source: String,
pub wmo: String,
pub latitude: f64,
pub longitude: f64,
pub time_zone: FixedOffset,
pub elevation: f64,
}
Fields§
§city: String
§state_province_region: String
§country: String
§source: String
§wmo: String
§latitude: f64
§longitude: f64
§time_zone: FixedOffset
§elevation: f64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Location
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnwindSafe for Location
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