Struct google_content2::api::TestOrderLineItem [−][src]
pub struct TestOrderLineItem {
pub product: Option<TestOrderLineItemProduct>,
pub quantity_ordered: Option<u32>,
pub return_info: Option<OrderLineItemReturnInfo>,
pub shipping_details: Option<OrderLineItemShippingDetails>,
pub unit_tax: Option<Price>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields
product: Option<TestOrderLineItemProduct>Required. Product data from the time of the order placement.
quantity_ordered: Option<u32>Required. Number of items ordered.
return_info: Option<OrderLineItemReturnInfo>Required. Details of the return policy for the line item.
shipping_details: Option<OrderLineItemShippingDetails>Required. Details of the requested shipping for the line item.
unit_tax: Option<Price>Deprecated. Ignored if provided.
Trait Implementations
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for TestOrderLineItem
impl Send for TestOrderLineItem
impl Sync for TestOrderLineItem
impl Unpin for TestOrderLineItem
impl UnwindSafe for TestOrderLineItem
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more