pub struct AmazonOrderDetails {
pub order_id: String,
}Expand description
AmazonOrderDetails : Amazon order information. This is required if the shipment source channel is Amazon.
Fields§
§order_id: StringThe Amazon order ID associated with the Amazon order fulfilled by this shipment.
Implementations§
Source§impl AmazonOrderDetails
impl AmazonOrderDetails
Sourcepub fn new(order_id: String) -> AmazonOrderDetails
pub fn new(order_id: String) -> AmazonOrderDetails
Amazon order information. This is required if the shipment source channel is Amazon.
Trait Implementations§
Source§impl Clone for AmazonOrderDetails
impl Clone for AmazonOrderDetails
Source§fn clone(&self) -> AmazonOrderDetails
fn clone(&self) -> AmazonOrderDetails
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 AmazonOrderDetails
impl Debug for AmazonOrderDetails
Source§impl Default for AmazonOrderDetails
impl Default for AmazonOrderDetails
Source§fn default() -> AmazonOrderDetails
fn default() -> AmazonOrderDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AmazonOrderDetails
impl<'de> Deserialize<'de> for AmazonOrderDetails
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 AmazonOrderDetails
impl PartialEq for AmazonOrderDetails
Source§impl Serialize for AmazonOrderDetails
impl Serialize for AmazonOrderDetails
impl StructuralPartialEq for AmazonOrderDetails
Auto Trait Implementations§
impl Freeze for AmazonOrderDetails
impl RefUnwindSafe for AmazonOrderDetails
impl Send for AmazonOrderDetails
impl Sync for AmazonOrderDetails
impl Unpin for AmazonOrderDetails
impl UnwindSafe for AmazonOrderDetails
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