pub struct Attributes {
Show 39 fields pub additional_image_link: Option<Vec<Image>>, pub age_group: Option<String>, pub brand: Option<String>, pub capacity: Option<Capacity>, pub color: Option<String>, pub count: Option<Count>, pub description: Option<String>, pub disclosure_date: Option<String>, pub excluded_destination: Option<Vec<String>>, pub feature_description: Option<Vec<FeatureDescription>>, pub flavor: Option<String>, pub format: Option<String>, pub gender: Option<String>, pub grocery: Option<Grocery>, pub gtin: Option<Vec<String>>, pub image_link: Option<Image>, pub included_destination: Option<Vec<String>>, pub item_group_id: Option<String>, pub material: Option<String>, pub mpn: Option<String>, pub nutrition: Option<Nutrition>, pub pattern: Option<String>, pub product_detail: Option<Vec<ProductDetail>>, pub product_highlight: Option<Vec<String>>, pub product_line: Option<String>, pub product_name: Option<String>, pub product_page_url: Option<String>, pub product_type: Option<Vec<String>>, pub release_date: Option<String>, pub rich_product_content: Option<Vec<String>>, pub scent: Option<String>, pub size: Option<String>, pub size_system: Option<String>, pub size_type: Option<Vec<String>>, pub suggested_retail_price: Option<Price>, pub target_client_id: Option<String>, pub theme: Option<String>, pub title: Option<String>, pub video_link: Option<Vec<String>>,
}
Expand description

Attributes of the product. For more information, see https://support.google.com/manufacturers/answer/6124116.

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§

§additional_image_link: Option<Vec<Image>>

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

§age_group: Option<String>

The target age group of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#agegroup.

§brand: Option<String>

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

§capacity: Option<Capacity>

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

§color: Option<String>

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

§count: Option<Count>

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

§description: Option<String>

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

§disclosure_date: Option<String>

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

§excluded_destination: Option<Vec<String>>

A list of excluded destinations such as “ClientExport”, “ClientShoppingCatalog” or “PartnerShoppingCatalog”. For more information, see https://support.google.com/manufacturers/answer/7443550

§feature_description: Option<Vec<FeatureDescription>>

The rich format description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#featuredesc.

§flavor: Option<String>

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

§format: Option<String>

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

§gender: Option<String>

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

§grocery: Option<Grocery>

Grocery Attributes. See more at https://support.google.com/manufacturers/answer/12098458#grocery.

§gtin: Option<Vec<String>>

The Global Trade Item Number (GTIN) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#gtin.

§image_link: Option<Image>

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

§included_destination: Option<Vec<String>>

A list of included destinations such as “ClientExport”, “ClientShoppingCatalog” or “PartnerShoppingCatalog”. For more information, see https://support.google.com/manufacturers/answer/7443550

§item_group_id: Option<String>

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

§material: Option<String>

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

§mpn: Option<String>

The Manufacturer Part Number (MPN) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#mpn.

§nutrition: Option<Nutrition>

Nutrition Attributes. See more at https://support.google.com/manufacturers/answer/12098458#food-servings.

§pattern: Option<String>

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

§product_detail: Option<Vec<ProductDetail>>

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

§product_highlight: Option<Vec<String>>

The product highlights. For more information, see https://support.google.com/manufacturers/answer/10066942

§product_line: Option<String>

The name of the group of products related to the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productline.

§product_name: Option<String>

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

§product_page_url: Option<String>

The URL of the detail page of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productpage.

§product_type: Option<Vec<String>>

The type or category of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#producttype.

§release_date: Option<String>

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

§rich_product_content: Option<Vec<String>>

Rich product content. For more information, see https://support.google.com/manufacturers/answer/9389865

§scent: Option<String>

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

§size: Option<String>

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

§size_system: Option<String>

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

§size_type: Option<Vec<String>>

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

§suggested_retail_price: Option<Price>

The suggested retail price (MSRP) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#price.

§target_client_id: Option<String>

The target client id. Should only be used in the accounts of the data partners. For more information, see https://support.google.com/manufacturers/answer/10857344

§theme: Option<String>

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

§title: Option<String>

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

§video_link: Option<Vec<String>>

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

Trait Implementations§

source§

impl Clone for Attributes

source§

fn clone(&self) -> Attributes

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Attributes

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Attributes

source§

fn default() -> Attributes

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Attributes

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for Attributes

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl RequestValue for Attributes

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,