Struct amazon_sp_orders::models::order_address::OrderAddress
source · [−]pub struct OrderAddress {
pub amazon_order_id: String,
pub shipping_address: Option<Box<Address>>,
}Expand description
OrderAddress : The shipping address for the order.
Fields
amazon_order_id: StringAn Amazon-defined order identifier, in 3-7-7 format.
shipping_address: Option<Box<Address>>Implementations
sourceimpl OrderAddress
impl OrderAddress
sourcepub fn new(amazon_order_id: String) -> OrderAddress
pub fn new(amazon_order_id: String) -> OrderAddress
The shipping address for the order.
Trait Implementations
sourceimpl Clone for OrderAddress
impl Clone for OrderAddress
sourcefn clone(&self) -> OrderAddress
fn clone(&self) -> OrderAddress
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for OrderAddress
impl Debug for OrderAddress
sourceimpl Default for OrderAddress
impl Default for OrderAddress
sourcefn default() -> OrderAddress
fn default() -> OrderAddress
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for OrderAddress
impl<'de> Deserialize<'de> for OrderAddress
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
sourceimpl PartialEq<OrderAddress> for OrderAddress
impl PartialEq<OrderAddress> for OrderAddress
sourcefn eq(&self, other: &OrderAddress) -> bool
fn eq(&self, other: &OrderAddress) -> bool
sourceimpl Serialize for OrderAddress
impl Serialize for OrderAddress
impl StructuralPartialEq for OrderAddress
Auto Trait Implementations
impl RefUnwindSafe for OrderAddress
impl Send for OrderAddress
impl Sync for OrderAddress
impl Unpin for OrderAddress
impl UnwindSafe for OrderAddress
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