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
item_id: Option<String>
A unique identifier for the item.
store_code: Option<String>
The identifier of the merchant's store. Either a storeCode inserted via the API or the code of the store in Google My Business.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string "content#posInventory".
content_language: Option<String>
The two-letter ISO 639-1 language code for the item.
timestamp: Option<String>
The inventory timestamp, in ISO 8601 format.
price: Option<Price>
The current price of the item.
target_country: Option<i64>
The CLDR territory code for the item.
gtin: Option<String>
Global Trade Item Number.
quantity: Option<String>
The available quantity of the item.
Trait Implementations
impl Default for PosInventory
[src]
impl Default for PosInventory
fn default() -> PosInventory
[src]
fn default() -> PosInventory
Returns the "default value" for a type. Read more
impl Clone for PosInventory
[src]
impl Clone for PosInventory
fn clone(&self) -> PosInventory
[src]
fn clone(&self) -> PosInventory
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for PosInventory
[src]
impl Debug for PosInventory
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for PosInventory
[src]
impl Part for PosInventory
Auto Trait Implementations
impl Send for PosInventory
impl Send for PosInventory
impl Sync for PosInventory
impl Sync for PosInventory