Struct google_content2::OrderShipment
source · pub struct OrderShipment {
pub status: Option<String>,
pub creation_date: Option<String>,
pub carrier: Option<String>,
pub tracking_id: Option<String>,
pub delivery_date: Option<String>,
pub line_items: Option<Vec<OrderShipmentLineItemShipment>>,
pub id: Option<String>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§status: Option<String>The status of the shipment.
creation_date: Option<String>Date on which the shipment has been created, in ISO 8601 format.
carrier: Option<String>The carrier handling the shipment.
Acceptable values are:
- “gsx”
- “ups”
- “united parcel service”
- “usps”
- “united states postal service”
- “fedex”
- “dhl”
- “ecourier”
- “cxt”
- “google”
- “on trac”
- “ontrac”
- “on-trac”
- “on_trac”
- “delvic”
- “dynamex”
- “lasership”
- “smartpost”
- “fedex smartpost”
- “mpx”
- “uds”
- “united delivery service”
tracking_id: Option<String>The tracking id for the shipment.
delivery_date: Option<String>Date on which the shipment has been delivered, in ISO 8601 format. Present only if status is delievered
line_items: Option<Vec<OrderShipmentLineItemShipment>>The line items that are shipped.
id: Option<String>The id of the shipment.
Trait Implementations§
source§impl Clone for OrderShipment
impl Clone for OrderShipment
source§fn clone(&self) -> OrderShipment
fn clone(&self) -> OrderShipment
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 OrderShipment
impl Debug for OrderShipment
source§impl Default for OrderShipment
impl Default for OrderShipment
source§fn default() -> OrderShipment
fn default() -> OrderShipment
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OrderShipment
impl<'de> Deserialize<'de> for OrderShipment
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 Serialize for OrderShipment
impl Serialize for OrderShipment
impl Part for OrderShipment
Auto Trait Implementations§
impl Freeze for OrderShipment
impl RefUnwindSafe for OrderShipment
impl Send for OrderShipment
impl Sync for OrderShipment
impl Unpin for OrderShipment
impl UnwindSafe for OrderShipment
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more