Struct google_content2::PosInventory[][src]

pub struct PosInventory {
    pub item_id: Option<String>,
    pub store_code: Option<String>,
    pub kind: Option<String>,
    pub content_language: Option<String>,
    pub timestamp: Option<String>,
    pub price: Option<Price>,
    pub target_country: Option<i64>,
    pub gtin: Option<String>,
    pub quantity: Option<String>,
}

The absolute quantity of an item available at the given store.

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

Fields

A unique identifier for the item.

The identifier of the merchant's store. Either a storeCode inserted via the API or the code of the store in Google My Business.

Identifies what kind of resource this is. Value: the fixed string "content#posInventory".

The two-letter ISO 639-1 language code for the item.

The inventory timestamp, in ISO 8601 format.

The current price of the item.

The CLDR territory code for the item.

Global Trade Item Number.

The available quantity of the item.

Trait Implementations

impl Default for PosInventory
[src]

Returns the "default value" for a type. Read more

impl Clone for PosInventory
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PosInventory
[src]

Formats the value using the given formatter. Read more

impl Part for PosInventory
[src]

Auto Trait Implementations