[][src]Struct google_manufacturers1::Product

pub struct Product {
    pub target_country: Option<String>,
    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).

Fields

target_country: Option<String>

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 ResponseResult for Product[src]

impl Clone for Product[src]

impl Default for Product[src]

impl Debug for Product[src]

impl Serialize for Product[src]

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

Auto Trait Implementations

impl Send for Product

impl Sync for Product

impl Unpin for Product

impl UnwindSafe for Product

impl RefUnwindSafe for Product

Blanket Implementations

impl<T> From<T> 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 = !

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.

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

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

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

impl<T> Typeable for T where
    T: Any

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