pub struct GeographicLocation {
pub region: Option<String>,
pub zone: Option<String>,
pub country: Option<String>,
pub coordinates: Option<(f64, f64)>,
}Fields§
§region: Option<String>§zone: Option<String>§country: Option<String>§coordinates: Option<(f64, f64)>Trait Implementations§
Source§impl Clone for GeographicLocation
impl Clone for GeographicLocation
Source§fn clone(&self) -> GeographicLocation
fn clone(&self) -> GeographicLocation
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 moreSource§impl Debug for GeographicLocation
impl Debug for GeographicLocation
Source§impl<'de> Deserialize<'de> for GeographicLocation
impl<'de> Deserialize<'de> for GeographicLocation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GeographicLocation
impl RefUnwindSafe for GeographicLocation
impl Send for GeographicLocation
impl Sync for GeographicLocation
impl Unpin for GeographicLocation
impl UnsafeUnpin for GeographicLocation
impl UnwindSafe for GeographicLocation
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