pub struct Geocode {
pub long_city: Option<String>,
pub long_country: Option<String>,
pub long_state: Option<String>,
pub long_street: Option<String>,
pub short_city: Option<String>,
pub short_country: Option<String>,
pub short_state: Option<String>,
pub short_street: Option<String>,
}
Fields§
§long_city: Option<String>
The long version of city for the last asserted location
long_country: Option<String>
The long version of country for the last asserted location
long_state: Option<String>
The long version of state for the last asserted location
long_street: Option<String>
The long version of street for the last asserted location
short_city: Option<String>
The short version of city for the last asserted location
short_country: Option<String>
The short version of country for the last asserted location
short_state: Option<String>
The short version of state for the last asserted location
short_street: Option<String>
The short version of street for the last asserted location
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Geocode
impl<'de> Deserialize<'de> for Geocode
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 Geocode
impl RefUnwindSafe for Geocode
impl Send for Geocode
impl Sync for Geocode
impl Unpin for Geocode
impl UnwindSafe for Geocode
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