pub struct OrderShipping {
pub address: Address,
pub carrier: Option<String>,
pub name: Option<String>,
pub phone: Option<String>,
pub tracking_number: Option<String>,
}Fields§
§address: AddressShipping address.
carrier: Option<String>The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
name: Option<String>Recipient name.
phone: Option<String>Recipient phone (including extension).
tracking_number: Option<String>The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
Implementations§
Trait Implementations§
Source§impl Clone for OrderShipping
impl Clone for OrderShipping
Source§fn clone(&self) -> OrderShipping
fn clone(&self) -> OrderShipping
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 OrderShipping
impl Debug for OrderShipping
Source§impl PartialEq for OrderShipping
impl PartialEq for OrderShipping
Source§impl Serialize for OrderShipping
impl Serialize for OrderShipping
impl Eq for OrderShipping
impl StructuralPartialEq for OrderShipping
Auto Trait Implementations§
impl Freeze for OrderShipping
impl RefUnwindSafe for OrderShipping
impl Send for OrderShipping
impl Sync for OrderShipping
impl Unpin for OrderShipping
impl UnsafeUnpin for OrderShipping
impl UnwindSafe for OrderShipping
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