Struct google_manufacturers1::Product [−][src]
pub struct Product { pub target_country: Option<i64>, pub destination_statuses: Option<Vec<DestinationStatus>>, pub parent: Option<String>, pub name: Option<String>, pub attributes: Option<Attributes>, pub content_language: Option<String>, pub issues: Option<Vec<Issue>>, pub product_id: Option<String>, }
Product data.
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).
- products get accounts (response)
Fields
target_country: Option<i64>
The target country of the product as a CLDR territory code (for example, US).
destination_statuses: Option<Vec<DestinationStatus>>
The status of the destinations.
parent: Option<String>
Parent ID in the format accounts/{account_id}
.
account_id
- The ID of the Manufacturer Center account.
name: Option<String>
Name in the format {target_country}:{content_language}:{product_id}
.
target_country
- The target country of the product as a CLDR territory
code (for example, US).
content_language
- The content language of the product as a two-letter
ISO 639-1 language code (for example, en).
product_id
- The ID of the product. For more information, see
https://support.google.com/manufacturers/answer/6124116#id.
attributes: Option<Attributes>
Attributes of the product uploaded to the Manufacturer Center. Manually edited attributes are taken into account.
content_language: Option<String>
The content language of the product as a two-letter ISO 639-1 language code (for example, en).
issues: Option<Vec<Issue>>
A server-generated list of issues associated with the product.
product_id: Option<String>
The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id.
Trait Implementations
impl Default for Product
[src]
impl Default for Product
impl Clone for Product
[src]
impl Clone for Product
fn clone(&self) -> Product
[src]
fn clone(&self) -> Product
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 Product
[src]
impl Debug for Product
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 ResponseResult for Product
[src]
impl ResponseResult for Product