Struct google_api_proto::google::analytics::data::v1beta::RunPivotReportResponse
source · pub struct RunPivotReportResponse {
pub pivot_headers: Vec<PivotHeader>,
pub dimension_headers: Vec<DimensionHeader>,
pub metric_headers: Vec<MetricHeader>,
pub rows: Vec<Row>,
pub aggregates: Vec<Row>,
pub metadata: Option<ResponseMetaData>,
pub property_quota: Option<PropertyQuota>,
pub kind: String,
}
Expand description
The response pivot report table corresponding to a pivot request.
Fields§
§pivot_headers: Vec<PivotHeader>
Summarizes the columns and rows created by a pivot. Each pivot in the request produces one header in the response. If we have a request like this:
"pivots": [{
"fieldNames": ["country",
"city"]
},
{
"fieldNames": "eventName"
}]
We will have the following pivotHeaders
in the response:
"pivotHeaders" : [{
"dimensionHeaders": [{
"dimensionValues": [
{ "value": "United Kingdom" },
{ "value": "London" }
]
},
{
"dimensionValues": [
{ "value": "Japan" },
{ "value": "Osaka" }
]
}]
},
{
"dimensionHeaders": [{
"dimensionValues": \[{ "value": "session_start" }\]
},
{
"dimensionValues": \[{ "value": "scroll" }\]
}]
}]
dimension_headers: Vec<DimensionHeader>
Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.
metric_headers: Vec<MetricHeader>
Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.
rows: Vec<Row>
Rows of dimension value combinations and metric values in the report.
aggregates: Vec<Row>
Aggregation of metric values. Can be totals, minimums, or maximums. The
returned aggregations are controlled by the metric_aggregations in the
pivot. The type of aggregation returned in each row is shown by the
dimension_values which are set to “RESERVED_
metadata: Option<ResponseMetaData>
Metadata for the report.
property_quota: Option<PropertyQuota>
This Analytics Property’s quota state including this request.
kind: String
Identifies what kind of resource this message is. This kind
is always the
fixed string “analyticsData#runPivotReport”. Useful to distinguish between
response types in JSON.
Trait Implementations§
source§impl Clone for RunPivotReportResponse
impl Clone for RunPivotReportResponse
source§fn clone(&self) -> RunPivotReportResponse
fn clone(&self) -> RunPivotReportResponse
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RunPivotReportResponse
impl Debug for RunPivotReportResponse
source§impl Default for RunPivotReportResponse
impl Default for RunPivotReportResponse
source§impl Message for RunPivotReportResponse
impl Message for RunPivotReportResponse
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 RunPivotReportResponse
impl PartialEq for RunPivotReportResponse
source§fn eq(&self, other: &RunPivotReportResponse) -> bool
fn eq(&self, other: &RunPivotReportResponse) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RunPivotReportResponse
Auto Trait Implementations§
impl Freeze for RunPivotReportResponse
impl RefUnwindSafe for RunPivotReportResponse
impl Send for RunPivotReportResponse
impl Sync for RunPivotReportResponse
impl Unpin for RunPivotReportResponse
impl UnwindSafe for RunPivotReportResponse
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