Struct google_api_proto::google::shopping::merchant::reports::v1beta::CompetitiveVisibilityBenchmarkView
source · pub struct CompetitiveVisibilityBenchmarkView {
pub date: Option<Date>,
pub report_country_code: Option<String>,
pub report_category_id: Option<i64>,
pub traffic_source: Option<i32>,
pub your_domain_visibility_trend: Option<f64>,
pub category_benchmark_visibility_trend: Option<f64>,
}
Expand description
Fields available for query in competitive_visibility_benchmark_view
table.
Competitive visibility report with the category benchmark.
Values are only set for fields requested explicitly in the request’s search query.
Fields§
§date: Option<Date>
Date of this row.
Required in the SELECT
clause. A condition on date
is required in the
WHERE
clause.
report_country_code: Option<String>
Country where impressions appeared.
Required in the SELECT
clause. A condition on report_country_code
is
required in the WHERE
clause.
report_category_id: Option<i64>
Google product category ID to calculate the report for, represented in Google’s product taxonomy.
Required in the SELECT
clause. A condition on report_category_id
is
required in the WHERE
clause.
traffic_source: Option<i32>
Traffic source of impressions.
Required in the SELECT
clause.
your_domain_visibility_trend: Option<f64>
Change in visibility based on impressions for your domain with respect to the start of the selected time range (or first day with non-zero impressions).
Cannot be filtered on in the ‘WHERE’ clause.
category_benchmark_visibility_trend: Option<f64>
Change in visibility based on impressions with respect to the start of the selected time range (or first day with non-zero impressions) for a combined set of merchants with highest visibility approximating the market.
Cannot be filtered on in the ‘WHERE’ clause.
Implementations§
source§impl CompetitiveVisibilityBenchmarkView
impl CompetitiveVisibilityBenchmarkView
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 report_category_id(&self) -> i64
pub fn report_category_id(&self) -> i64
Returns the value of report_category_id
, or the default value if report_category_id
is unset.
sourcepub fn traffic_source(&self) -> TrafficSourceEnum
pub fn traffic_source(&self) -> TrafficSourceEnum
Returns the enum value of traffic_source
, or the default if the field is unset or set to an invalid enum value.
sourcepub fn set_traffic_source(&mut self, value: TrafficSourceEnum)
pub fn set_traffic_source(&mut self, value: TrafficSourceEnum)
Sets traffic_source
to the provided enum value.
sourcepub fn your_domain_visibility_trend(&self) -> f64
pub fn your_domain_visibility_trend(&self) -> f64
Returns the value of your_domain_visibility_trend
, or the default value if your_domain_visibility_trend
is unset.
sourcepub fn category_benchmark_visibility_trend(&self) -> f64
pub fn category_benchmark_visibility_trend(&self) -> f64
Returns the value of category_benchmark_visibility_trend
, or the default value if category_benchmark_visibility_trend
is unset.
Trait Implementations§
source§impl Clone for CompetitiveVisibilityBenchmarkView
impl Clone for CompetitiveVisibilityBenchmarkView
source§fn clone(&self) -> CompetitiveVisibilityBenchmarkView
fn clone(&self) -> CompetitiveVisibilityBenchmarkView
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for CompetitiveVisibilityBenchmarkView
impl Message for CompetitiveVisibilityBenchmarkView
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 CompetitiveVisibilityBenchmarkView
impl PartialEq for CompetitiveVisibilityBenchmarkView
source§fn eq(&self, other: &CompetitiveVisibilityBenchmarkView) -> bool
fn eq(&self, other: &CompetitiveVisibilityBenchmarkView) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CompetitiveVisibilityBenchmarkView
Auto Trait Implementations§
impl Freeze for CompetitiveVisibilityBenchmarkView
impl RefUnwindSafe for CompetitiveVisibilityBenchmarkView
impl Send for CompetitiveVisibilityBenchmarkView
impl Sync for CompetitiveVisibilityBenchmarkView
impl Unpin for CompetitiveVisibilityBenchmarkView
impl UnwindSafe for CompetitiveVisibilityBenchmarkView
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