pub struct Address {Show 13 fields
pub name: String,
pub address_line1: Option<String>,
pub address_line2: Option<String>,
pub address_line3: Option<String>,
pub city: Option<String>,
pub county: Option<String>,
pub district: Option<String>,
pub state_or_region: Option<String>,
pub municipality: Option<String>,
pub postal_code: Option<String>,
pub country_code: Option<String>,
pub phone: Option<String>,
pub address_type: Option<AddressType>,
}Expand description
Address : The shipping address for the order.
Fields
name: StringThe name.
address_line1: Option<String>The street address.
address_line2: Option<String>Additional street address information, if required.
address_line3: Option<String>Additional street address information, if required.
city: Option<String>The city
county: Option<String>The county.
district: Option<String>The district.
state_or_region: Option<String>The state or region.
municipality: Option<String>The municipality.
postal_code: Option<String>The postal code.
country_code: Option<String>The country code. A two-character country code, in ISO 3166-1 alpha-2 format.
phone: Option<String>The phone number. Not returned for Fulfillment by Amazon (FBA) orders.
address_type: Option<AddressType>The address type of the shipping address.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Address
impl<'de> Deserialize<'de> for Address
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 Address
Auto Trait Implementations
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnwindSafe for Address
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