pub struct StoredLocation {
pub city: Option<String>,
pub country: Option<String>,
pub latitude: Option<f64>,
pub longitude: Option<f64>,
}Fields§
§city: Option<String>§country: Option<String>§latitude: Option<f64>§longitude: Option<f64>Trait Implementations§
Source§impl Clone for StoredLocation
impl Clone for StoredLocation
Source§fn clone(&self) -> StoredLocation
fn clone(&self) -> StoredLocation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StoredLocation
impl RefUnwindSafe for StoredLocation
impl Send for StoredLocation
impl Sync for StoredLocation
impl Unpin for StoredLocation
impl UnsafeUnpin for StoredLocation
impl UnwindSafe for StoredLocation
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