pub struct Address {
pub name: String,
pub address_line1: String,
pub address_line2: Option<String>,
pub district_or_county: Option<String>,
pub city: String,
pub state_or_province_code: String,
pub country_code: String,
pub postal_code: String,
}Expand description
Address : Specific details to identify a place.
Fields§
§name: StringName of the individual or business.
address_line1: StringThe street address information.
address_line2: Option<String>Additional street address information, if required.
district_or_county: Option<String>The district or county.
city: StringThe city.
state_or_province_code: StringThe state or province code. If state or province codes are used in your marketplace, it is recommended that you include one with your request. This helps Amazon to select the most appropriate Amazon fulfillment center for your inbound shipment plan.
country_code: StringThe country code in two-character ISO 3166-1 alpha-2 format.
postal_code: StringThe postal code. If postal codes are used in your marketplace, we recommended that you include one with your request. This helps Amazon select the most appropriate Amazon fulfillment center for the inbound shipment plan.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Address
impl<'de> Deserialize<'de> for Address
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 Address
Auto Trait Implementations§
impl Freeze for Address
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnwindSafe for Address
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