Struct google_manufacturers1::api::Product[][src]

pub struct Product {
    pub attributes: Option<Attributes>,
    pub content_language: Option<String>,
    pub destination_statuses: Option<Vec<DestinationStatus>>,
    pub issues: Option<Vec<Issue>>,
    pub name: Option<String>,
    pub parent: Option<String>,
    pub product_id: Option<String>,
    pub target_country: 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).

Fields

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).

destination_statuses: Option<Vec<DestinationStatus>>

The status of the destinations.

issues: Option<Vec<Issue>>

A server-generated list of issues associated with the product.

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.

parent: Option<String>

Parent ID in the format accounts/{account_id}. account_id - The ID of the Manufacturer Center account.

product_id: Option<String>

The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id.

target_country: Option<String>

The target country of the product as a CLDR territory code (for example, US).

Trait Implementations

impl Clone for Product[src]

impl Debug for Product[src]

impl Default for Product[src]

impl<'de> Deserialize<'de> for Product[src]

impl ResponseResult for Product[src]

impl Serialize for Product[src]

Auto Trait Implementations

impl RefUnwindSafe for Product

impl Send for Product

impl Sync for Product

impl Unpin for Product

impl UnwindSafe for Product

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.