pub struct OrdersUpdateShipmentRequest {
pub carrier: Option<String>,
pub delivery_date: Option<String>,
pub operation_id: Option<String>,
pub shipment_id: Option<String>,
pub status: Option<String>,
pub tracking_id: Option<String>,
}
Expand description
There is no detailed description.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- updateshipment orders (request)
Fields§
§carrier: Option<String>
The carrier handling the shipment. Not updated if missing. See shipments[].carrier in the Orders resource representation for a list of acceptable values.
delivery_date: Option<String>
Date on which the shipment has been delivered, in ISO 8601 format. Optional and can be provided only if status is delivered.
operation_id: Option<String>
The ID of the operation. Unique across all operations for a given order.
shipment_id: Option<String>
The ID of the shipment.
status: Option<String>
New status for the shipment. Not updated if missing.
tracking_id: Option<String>
The tracking id for the shipment. Not updated if missing.
Trait Implementations§
source§impl Clone for OrdersUpdateShipmentRequest
impl Clone for OrdersUpdateShipmentRequest
source§fn clone(&self) -> OrdersUpdateShipmentRequest
fn clone(&self) -> OrdersUpdateShipmentRequest
Returns a copy 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 OrdersUpdateShipmentRequest
impl Debug for OrdersUpdateShipmentRequest
source§impl Default for OrdersUpdateShipmentRequest
impl Default for OrdersUpdateShipmentRequest
source§fn default() -> OrdersUpdateShipmentRequest
fn default() -> OrdersUpdateShipmentRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OrdersUpdateShipmentRequest
impl<'de> Deserialize<'de> for OrdersUpdateShipmentRequest
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 RequestValue for OrdersUpdateShipmentRequest
Auto Trait Implementations§
impl RefUnwindSafe for OrdersUpdateShipmentRequest
impl Send for OrdersUpdateShipmentRequest
impl Sync for OrdersUpdateShipmentRequest
impl Unpin for OrdersUpdateShipmentRequest
impl UnwindSafe for OrdersUpdateShipmentRequest
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