Struct google_analyticsreporting4::ReportData
source · pub struct ReportData {
pub rows: Option<Vec<ReportRow>>,
pub maximums: Option<Vec<DateRangeValues>>,
pub minimums: Option<Vec<DateRangeValues>>,
pub is_data_golden: Option<bool>,
pub sampling_space_sizes: Option<Vec<String>>,
pub totals: Option<Vec<DateRangeValues>>,
pub row_count: Option<i32>,
pub data_last_refreshed: Option<String>,
pub samples_read_counts: Option<Vec<i64>>,
}Expand description
The data part of the report.
This type is not used in any activity, and only used as part of another schema.
Fields§
§rows: Option<Vec<ReportRow>>There’s one ReportRow for every unique combination of dimensions.
maximums: Option<Vec<DateRangeValues>>Minimum and maximum values seen over all matching rows. These are both
empty when hideValueRanges in the request is false, or when
rowCount is zero.
minimums: Option<Vec<DateRangeValues>>Minimum and maximum values seen over all matching rows. These are both
empty when hideValueRanges in the request is false, or when
rowCount is zero.
is_data_golden: Option<bool>Indicates if response to this request is golden or not. Data is golden when the exact same request will not produce any new results if asked at a later point in time.
sampling_space_sizes: Option<Vec<String>>If the results are sampled, this returns the total number of samples present, one entry per date range. If the results are not sampled this field will not be defined. See developer guide for details.
totals: Option<Vec<DateRangeValues>>For each requested date range, for the set of all rows that match
the query, every requested value format gets a total. The total
for a value format is computed by first totaling the metrics
mentioned in the value format and then evaluating the value
format as a scalar expression. E.g., The “totals” for
3 / (ga:sessions + 2) we compute
3 / ((sum of all relevant ga:sessions) + 2).
Totals are computed before pagination.
row_count: Option<i32>Total number of matching rows for this query.
data_last_refreshed: Option<String>The last time the data in the report was refreshed. All the hits received before this timestamp are included in the calculation of the report.
samples_read_counts: Option<Vec<i64>>If the results are sampled, this returns the total number of samples read, one entry per date range. If the results are not sampled this field will not be defined. See developer guide for details.
Trait Implementations§
source§impl Clone for ReportData
impl Clone for ReportData
source§fn clone(&self) -> ReportData
fn clone(&self) -> ReportData
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ReportData
impl Debug for ReportData
source§impl Default for ReportData
impl Default for ReportData
source§fn default() -> ReportData
fn default() -> ReportData
source§impl<'de> Deserialize<'de> for ReportData
impl<'de> Deserialize<'de> for ReportData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl Serialize for ReportData
impl Serialize for ReportData
impl Part for ReportData
Auto Trait Implementations§
impl Freeze for ReportData
impl RefUnwindSafe for ReportData
impl Send for ReportData
impl Sync for ReportData
impl Unpin for ReportData
impl UnwindSafe for ReportData
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more