pub struct OrderFulfillmentShipmentDetails {Show 15 fields
pub recipient: Option<OrderFulfillmentRecipient>,
pub carrier: Option<String>,
pub shipping_note: Option<String>,
pub shipping_type: Option<String>,
pub tracking_number: Option<String>,
pub tracking_url: Option<String>,
pub placed_at: Option<DateTime>,
pub in_progress_at: Option<DateTime>,
pub packaged_at: Option<DateTime>,
pub expected_shipped_at: Option<DateTime>,
pub shipped_at: Option<DateTime>,
pub canceled_at: Option<DateTime>,
pub cancel_reason: Option<String>,
pub failed_at: Option<DateTime>,
pub failure_reason: Option<String>,
}
Expand description
Contains the details necessary to fulfill a shipment order.
Fields§
§recipient: Option<OrderFulfillmentRecipient>
Information about the person meant to receive this shipment fulfillment.
carrier: Option<String>
The shipping carrier being used to ship this fulfillment (such as UPS, FedEx, or USPS).
shipping_note: Option<String>
A note with additional information for the shipping carrier.
shipping_type: Option<String>
A description of the type of shipping product purchased from the carrier (such as First Class, Priority, or Express).
tracking_number: Option<String>
The reference number provided by the carrier to track the shipment’s progress.
tracking_url: Option<String>
A link to the tracking webpage on the carrier’s website.
placed_at: Option<DateTime>
Read only The timestamp indicating when the shipment was requested.
in_progress_at: Option<DateTime>
Read only The timestamp indicating when this fulfillment was moved to the RESERVED state, which indicates that preparation of this shipment has begun.
packaged_at: Option<DateTime>
Read only The timestamp indicating when this fulfillment was moved to the PREPARED state, which indicates that the fulfillment is packaged.
expected_shipped_at: Option<DateTime>
The timestamp indicating when the shipment is expected to be delivered to the shipping carrier.
shipped_at: Option<DateTime>
Read only The timestamp indicating when this fulfillment was moved to the COMPLETED state, which indicates that the fulfillment has been given to the shipping carrier.
canceled_at: Option<DateTime>
The timestamp indicating the shipment was canceled.
cancel_reason: Option<String>
A description of why the shipment was canceled.
failed_at: Option<DateTime>
Read only The timestamp indicating when the shipment failed to be completed.
failure_reason: Option<String>
A description of why the shipment failed to be completed.
Trait Implementations§
Source§impl Clone for OrderFulfillmentShipmentDetails
impl Clone for OrderFulfillmentShipmentDetails
Source§fn clone(&self) -> OrderFulfillmentShipmentDetails
fn clone(&self) -> OrderFulfillmentShipmentDetails
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for OrderFulfillmentShipmentDetails
impl Default for OrderFulfillmentShipmentDetails
Source§fn default() -> OrderFulfillmentShipmentDetails
fn default() -> OrderFulfillmentShipmentDetails
Source§impl<'de> Deserialize<'de> for OrderFulfillmentShipmentDetails
impl<'de> Deserialize<'de> for OrderFulfillmentShipmentDetails
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>,
Source§impl PartialEq for OrderFulfillmentShipmentDetails
impl PartialEq for OrderFulfillmentShipmentDetails
Source§fn eq(&self, other: &OrderFulfillmentShipmentDetails) -> bool
fn eq(&self, other: &OrderFulfillmentShipmentDetails) -> bool
self
and other
values to be equal, and is used by ==
.impl Eq for OrderFulfillmentShipmentDetails
impl StructuralPartialEq for OrderFulfillmentShipmentDetails
Auto Trait Implementations§
impl Freeze for OrderFulfillmentShipmentDetails
impl RefUnwindSafe for OrderFulfillmentShipmentDetails
impl Send for OrderFulfillmentShipmentDetails
impl Sync for OrderFulfillmentShipmentDetails
impl Unpin for OrderFulfillmentShipmentDetails
impl UnwindSafe for OrderFulfillmentShipmentDetails
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.