Struct google_content2::api::OrdersShipLineItemsRequest
source · pub struct OrdersShipLineItemsRequest {
pub carrier: Option<String>,
pub line_items: Option<Vec<OrderShipmentLineItemShipment>>,
pub operation_id: Option<String>,
pub shipment_group_id: Option<String>,
pub shipment_id: Option<String>,
pub shipment_infos: Option<Vec<OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo>>,
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).
- shiplineitems orders (request)
Fields§
§carrier: Option<String>
Deprecated. Please use shipmentInfo instead. The carrier handling the shipment. See shipments[].carrier
in the Orders resource representation for a list of acceptable values.
line_items: Option<Vec<OrderShipmentLineItemShipment>>
Line items to ship.
operation_id: Option<String>
The ID of the operation. Unique across all operations for a given order.
shipment_group_id: Option<String>
ID of the shipment group. Required for orders that use the orderinvoices service.
shipment_id: Option<String>
Deprecated. Please use shipmentInfo instead. The ID of the shipment.
shipment_infos: Option<Vec<OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo>>
Shipment information. This field is repeated because a single line item can be shipped in several packages (and have several tracking IDs).
tracking_id: Option<String>
Deprecated. Please use shipmentInfo instead. The tracking ID for the shipment.
Trait Implementations§
source§impl Clone for OrdersShipLineItemsRequest
impl Clone for OrdersShipLineItemsRequest
source§fn clone(&self) -> OrdersShipLineItemsRequest
fn clone(&self) -> OrdersShipLineItemsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OrdersShipLineItemsRequest
impl Debug for OrdersShipLineItemsRequest
source§impl Default for OrdersShipLineItemsRequest
impl Default for OrdersShipLineItemsRequest
source§fn default() -> OrdersShipLineItemsRequest
fn default() -> OrdersShipLineItemsRequest
source§impl<'de> Deserialize<'de> for OrdersShipLineItemsRequest
impl<'de> Deserialize<'de> for OrdersShipLineItemsRequest
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>,
impl RequestValue for OrdersShipLineItemsRequest
Auto Trait Implementations§
impl Freeze for OrdersShipLineItemsRequest
impl RefUnwindSafe for OrdersShipLineItemsRequest
impl Send for OrdersShipLineItemsRequest
impl Sync for OrdersShipLineItemsRequest
impl Unpin for OrdersShipLineItemsRequest
impl UnwindSafe for OrdersShipLineItemsRequest
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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