pub struct AddressInput {
pub address_line1: String,
pub address_line2: Option<String>,
pub city: String,
pub company_name: Option<String>,
pub country_code: String,
pub email: Option<String>,
pub name: String,
pub phone_number: String,
pub postal_code: String,
pub state_or_province_code: Option<String>,
}Expand description
AddressInput : Specific details to identify a place.
Fields§
§address_line1: StringStreet address information.
address_line2: Option<String>Additional street address information.
city: StringThe city.
company_name: Option<String>The name of the business.
country_code: StringThe country code in two-character ISO 3166-1 alpha-2 format.
email: Option<String>The email address.
name: StringThe name of the individual who is the primary contact.
phone_number: StringThe phone number.
postal_code: StringThe postal code.
state_or_province_code: Option<String>The state or province code.
Implementations§
Trait Implementations§
Source§impl Clone for AddressInput
impl Clone for AddressInput
Source§fn clone(&self) -> AddressInput
fn clone(&self) -> AddressInput
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 AddressInput
impl Debug for AddressInput
Source§impl Default for AddressInput
impl Default for AddressInput
Source§fn default() -> AddressInput
fn default() -> AddressInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AddressInput
impl<'de> Deserialize<'de> for AddressInput
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
Source§impl PartialEq for AddressInput
impl PartialEq for AddressInput
Source§impl Serialize for AddressInput
impl Serialize for AddressInput
impl StructuralPartialEq for AddressInput
Auto Trait Implementations§
impl Freeze for AddressInput
impl RefUnwindSafe for AddressInput
impl Send for AddressInput
impl Sync for AddressInput
impl Unpin for AddressInput
impl UnsafeUnpin for AddressInput
impl UnwindSafe for AddressInput
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