Struct google_content2::api::TestOrderLineItemProduct[][src]

pub struct TestOrderLineItemProduct {
Show 14 fields pub brand: Option<String>, pub channel: Option<String>, pub condition: Option<String>, pub content_language: Option<String>, pub fees: Option<Vec<OrderLineItemProductFee>>, pub gtin: Option<String>, pub image_link: Option<String>, pub item_group_id: Option<String>, pub mpn: Option<String>, pub offer_id: Option<String>, pub price: Option<Price>, pub target_country: Option<String>, pub title: Option<String>, pub variant_attributes: Option<Vec<OrderLineItemProductVariantAttribute>>,
}
Expand description

There is no detailed description.

This type is not used in any activity, and only used as part of another schema.

Fields

brand: Option<String>

Required. Brand of the item.

channel: Option<String>

Deprecated. Acceptable values are: - “online

condition: Option<String>

Required. Condition or state of the item. Acceptable values are: - “new

content_language: Option<String>

Required. The two-letter ISO 639-1 language code for the item. Acceptable values are: - “en” - “fr

fees: Option<Vec<OrderLineItemProductFee>>

Fees for the item. Optional.

gtin: Option<String>

Global Trade Item Number (GTIN) of the item. Optional.

image_link: Option<String>

Required. URL of an image of the item.

item_group_id: Option<String>

Shared identifier for all variants of the same product. Optional.

mpn: Option<String>

Manufacturer Part Number (MPN) of the item. Optional.

offer_id: Option<String>

Required. An identifier of the item.

price: Option<Price>

Required. The price for the product. Tax is automatically calculated for orders where marketplace facilitator tax laws are applicable. Otherwise, tax settings from Merchant Center are applied.

target_country: Option<String>

Required. The CLDR territory // code of the target country of the product.

title: Option<String>

Required. The title of the product.

variant_attributes: Option<Vec<OrderLineItemProductVariantAttribute>>

Variant attributes for the item. Optional.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.