pub struct Location {
pub state_or_region: Option<String>,
pub city: Option<String>,
pub country_code: Option<String>,
pub postal_code: Option<String>,
}Expand description
Location : The location where the person, business or institution is located.
Fields
state_or_region: Option<String>The state or region where the person, business or institution is located.
city: Option<String>The city where the person, business or institution is located.
country_code: Option<String>The two digit country code. In ISO 3166-1 alpha-2 format.
postal_code: Option<String>The postal code of that address. It contains a series of letters or digits or both, sometimes including spaces or punctuation.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Location
impl<'de> Deserialize<'de> for Location
sourcefn 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
impl StructuralPartialEq for Location
Auto Trait Implementations
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnwindSafe for Location
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more