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, county or region where the person, business or institution is located.
city: Option<String>The city or town where the person, business or institution is located.
country_code: Option<String>The two digit country code. Follows 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§
Source§impl<'de> Deserialize<'de> for Location
impl<'de> Deserialize<'de> for Location
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
impl StructuralPartialEq for Location
Auto Trait Implementations§
impl Freeze for Location
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnsafeUnpin for Location
impl UnwindSafe for Location
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