Struct google_api_proto::google::shopping::css::v1::CssProduct
source · pub struct CssProduct {
pub name: String,
pub raw_provided_id: String,
pub content_language: String,
pub feed_label: String,
pub attributes: Option<Attributes>,
pub custom_attributes: Vec<CustomAttribute>,
pub css_product_status: Option<CssProductStatus>,
}
Expand description
The processed CSS Product(a.k.a Aggregate Offer internally).
Fields§
§name: String
The name of the CSS Product.
Format:
"accounts/{account}/cssProducts/{css_product}"
raw_provided_id: String
Output only. Your unique raw identifier for the product.
content_language: String
Output only. The two-letter ISO 639-1 language code for the product.
feed_label: String
Output only. The feed label for the product.
attributes: Option<Attributes>
Output only. A list of product attributes.
custom_attributes: Vec<CustomAttribute>
Output only. A list of custom (CSS-provided) attributes. It can also be
used to submit any attribute of the feed specification in its generic form
(for example,
{ "name": "size type", "value": "regular" }
).
This is useful for submitting attributes not explicitly exposed by the
API, such as additional attributes used for Buy on Google.
css_product_status: Option<CssProductStatus>
Output only. The status of a product, data validation issues, that is, information about a product computed asynchronously.
Trait Implementations§
source§impl Clone for CssProduct
impl Clone for CssProduct
source§fn clone(&self) -> CssProduct
fn clone(&self) -> CssProduct
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CssProduct
impl Debug for CssProduct
source§impl Default for CssProduct
impl Default for CssProduct
source§impl Message for CssProduct
impl Message for CssProduct
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for CssProduct
impl PartialEq for CssProduct
source§fn eq(&self, other: &CssProduct) -> bool
fn eq(&self, other: &CssProduct) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CssProduct
Auto Trait Implementations§
impl Freeze for CssProduct
impl RefUnwindSafe for CssProduct
impl Send for CssProduct
impl Sync for CssProduct
impl Unpin for CssProduct
impl UnwindSafe for CssProduct
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request