pub struct Annotations<T>where
T: Float,{Show 13 fields
pub dms: Option<HashMap<String, String>>,
pub mgrs: Option<String>,
pub maidenhead: Option<String>,
pub mercator: Option<HashMap<String, T>>,
pub osm: Option<HashMap<String, String>>,
pub callingcode: i16,
pub currency: Option<Currency>,
pub flag: String,
pub geohash: String,
pub qibla: T,
pub sun: Sun,
pub timezone: Timezone,
pub what3words: HashMap<String, String>,
}
Expand description
Annotations pertaining to the geocoding result
Fields§
§dms: Option<HashMap<String, String>>
§mgrs: Option<String>
§maidenhead: Option<String>
§mercator: Option<HashMap<String, T>>
§osm: Option<HashMap<String, String>>
§callingcode: i16
§currency: Option<Currency>
§flag: String
§geohash: String
§qibla: T
§sun: Sun
§timezone: Timezone
§what3words: HashMap<String, String>
Trait Implementations§
Source§impl<T> Clone for Annotations<T>
impl<T> Clone for Annotations<T>
Source§fn clone(&self) -> Annotations<T>
fn clone(&self) -> Annotations<T>
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<T> Debug for Annotations<T>
impl<T> Debug for Annotations<T>
Source§impl<'de, T> Deserialize<'de> for Annotations<T>where
T: Float + Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Annotations<T>where
T: Float + Deserialize<'de>,
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<T> Freeze for Annotations<T>where
T: Freeze,
impl<T> RefUnwindSafe for Annotations<T>where
T: RefUnwindSafe,
impl<T> Send for Annotations<T>where
T: Send,
impl<T> Sync for Annotations<T>where
T: Sync,
impl<T> Unpin for Annotations<T>where
T: Unpin,
impl<T> UnwindSafe for Annotations<T>where
T: UnwindSafe,
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