Struct google_api_proto::google::shopping::merchant::reports::v1beta::PriceCompetitivenessProductView
source · pub struct PriceCompetitivenessProductView {Show 17 fields
pub report_country_code: Option<String>,
pub id: Option<String>,
pub offer_id: Option<String>,
pub title: Option<String>,
pub brand: Option<String>,
pub category_l1: Option<String>,
pub category_l2: Option<String>,
pub category_l3: Option<String>,
pub category_l4: Option<String>,
pub category_l5: Option<String>,
pub product_type_l1: Option<String>,
pub product_type_l2: Option<String>,
pub product_type_l3: Option<String>,
pub product_type_l4: Option<String>,
pub product_type_l5: Option<String>,
pub price: Option<Price>,
pub benchmark_price: Option<Price>,
}
Expand description
Fields available for query in price_competitiveness_product_view
table.
Price competitiveness report.
Values are only set for fields requested explicitly in the request’s search query.
Fields§
§report_country_code: Option<String>
Country of the price benchmark. Represented in the ISO 3166 format.
Required in the SELECT
clause.
id: Option<String>
REST ID of the product, in the form of
channel~languageCode~feedLabel~offerId
. Can be used to join data with the
product_view
table.
Required in the SELECT
clause.
offer_id: Option<String>
Merchant-provided id of the product.
title: Option<String>
Title of the product.
brand: Option<String>
Brand of the product.
category_l1: Option<String>
Product category (1st level) in Google’s product taxonomy.
category_l2: Option<String>
Product category (2nd level) in Google’s product taxonomy.
category_l3: Option<String>
Product category (3rd level) in Google’s product taxonomy.
category_l4: Option<String>
Product category (4th level) in Google’s product taxonomy.
category_l5: Option<String>
Product category (5th level) in Google’s product taxonomy.
product_type_l1: Option<String>
Product type (1st level) in merchant’s own product taxonomy.
product_type_l2: Option<String>
Product type (2nd level) in merchant’s own product taxonomy.
product_type_l3: Option<String>
Product type (3rd level) in merchant’s own product taxonomy.
product_type_l4: Option<String>
Product type (4th level) in merchant’s own product taxonomy.
product_type_l5: Option<String>
Product type (5th level) in merchant’s own product taxonomy.
price: Option<Price>
Current price of the product.
benchmark_price: Option<Price>
Latest available price benchmark for the product’s catalog in the benchmark country.
Implementations§
source§impl PriceCompetitivenessProductView
impl PriceCompetitivenessProductView
sourcepub fn report_country_code(&self) -> &str
pub fn report_country_code(&self) -> &str
Returns the value of report_country_code
, or the default value if report_country_code
is unset.
sourcepub fn offer_id(&self) -> &str
pub fn offer_id(&self) -> &str
Returns the value of offer_id
, or the default value if offer_id
is unset.
sourcepub fn title(&self) -> &str
pub fn title(&self) -> &str
Returns the value of title
, or the default value if title
is unset.
sourcepub fn brand(&self) -> &str
pub fn brand(&self) -> &str
Returns the value of brand
, or the default value if brand
is unset.
sourcepub fn category_l1(&self) -> &str
pub fn category_l1(&self) -> &str
Returns the value of category_l1
, or the default value if category_l1
is unset.
sourcepub fn category_l2(&self) -> &str
pub fn category_l2(&self) -> &str
Returns the value of category_l2
, or the default value if category_l2
is unset.
sourcepub fn category_l3(&self) -> &str
pub fn category_l3(&self) -> &str
Returns the value of category_l3
, or the default value if category_l3
is unset.
sourcepub fn category_l4(&self) -> &str
pub fn category_l4(&self) -> &str
Returns the value of category_l4
, or the default value if category_l4
is unset.
sourcepub fn category_l5(&self) -> &str
pub fn category_l5(&self) -> &str
Returns the value of category_l5
, or the default value if category_l5
is unset.
sourcepub fn product_type_l1(&self) -> &str
pub fn product_type_l1(&self) -> &str
Returns the value of product_type_l1
, or the default value if product_type_l1
is unset.
sourcepub fn product_type_l2(&self) -> &str
pub fn product_type_l2(&self) -> &str
Returns the value of product_type_l2
, or the default value if product_type_l2
is unset.
sourcepub fn product_type_l3(&self) -> &str
pub fn product_type_l3(&self) -> &str
Returns the value of product_type_l3
, or the default value if product_type_l3
is unset.
sourcepub fn product_type_l4(&self) -> &str
pub fn product_type_l4(&self) -> &str
Returns the value of product_type_l4
, or the default value if product_type_l4
is unset.
sourcepub fn product_type_l5(&self) -> &str
pub fn product_type_l5(&self) -> &str
Returns the value of product_type_l5
, or the default value if product_type_l5
is unset.
Trait Implementations§
source§impl Clone for PriceCompetitivenessProductView
impl Clone for PriceCompetitivenessProductView
source§fn clone(&self) -> PriceCompetitivenessProductView
fn clone(&self) -> PriceCompetitivenessProductView
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for PriceCompetitivenessProductView
impl Message for PriceCompetitivenessProductView
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
.source§impl PartialEq for PriceCompetitivenessProductView
impl PartialEq for PriceCompetitivenessProductView
source§fn eq(&self, other: &PriceCompetitivenessProductView) -> bool
fn eq(&self, other: &PriceCompetitivenessProductView) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PriceCompetitivenessProductView
Auto Trait Implementations§
impl Freeze for PriceCompetitivenessProductView
impl RefUnwindSafe for PriceCompetitivenessProductView
impl Send for PriceCompetitivenessProductView
impl Sync for PriceCompetitivenessProductView
impl Unpin for PriceCompetitivenessProductView
impl UnwindSafe for PriceCompetitivenessProductView
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