Struct google_analytics3::GaData
source · pub struct GaData {Show 17 fields
pub contains_sampled_data: Option<bool>,
pub previous_link: Option<String>,
pub data_table: Option<GaDataDataTable>,
pub query: Option<GaDataQuery>,
pub totals_for_all_results: Option<HashMap<String, String>>,
pub id: Option<String>,
pub kind: Option<String>,
pub rows: Option<Vec<Vec<String>>>,
pub total_results: Option<i32>,
pub items_per_page: Option<i32>,
pub next_link: Option<String>,
pub sample_size: Option<String>,
pub data_last_refreshed: Option<String>,
pub profile_info: Option<GaDataProfileInfo>,
pub column_headers: Option<Vec<GaDataColumnHeaders>>,
pub self_link: Option<String>,
pub sample_space: Option<String>,
}Expand description
Analytics data for a given view (profile).
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- ga get data (response)
Fields§
§contains_sampled_data: Option<bool>Determines if Analytics data contains samples.
previous_link: Option<String>Link to previous page for this Analytics data query.
data_table: Option<GaDataDataTable>no description provided
query: Option<GaDataQuery>Analytics data request query parameters.
totals_for_all_results: Option<HashMap<String, String>>Total values for the requested metrics over all the results, not just the results returned in this response. The order of the metric totals is same as the metric order specified in the request.
id: Option<String>Unique ID for this data response.
kind: Option<String>Resource type.
rows: Option<Vec<Vec<String>>>Analytics data rows, where each row contains a list of dimension values followed by the metric values. The order of dimensions and metrics is same as specified in the request.
total_results: Option<i32>The total number of rows for the query, regardless of the number of rows in the response.
items_per_page: Option<i32>The maximum number of rows the response can contain, regardless of the actual number of rows returned. Its value ranges from 1 to 10,000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.
next_link: Option<String>Link to next page for this Analytics data query.
sample_size: Option<String>The number of samples used to calculate the result.
data_last_refreshed: Option<String>The last refreshed time in seconds for Analytics data.
profile_info: Option<GaDataProfileInfo>Information for the view (profile), for which the Analytics data was requested.
column_headers: Option<Vec<GaDataColumnHeaders>>Column headers that list dimension names followed by the metric names. The order of dimensions and metrics is same as specified in the request.
self_link: Option<String>Link to this page.
sample_space: Option<String>Total size of the sample space from which the samples were selected.
Trait Implementations§
source§impl<'de> Deserialize<'de> for GaData
impl<'de> Deserialize<'de> for GaData
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>,
impl ResponseResult for GaData
Auto Trait Implementations§
impl Freeze for GaData
impl RefUnwindSafe for GaData
impl Send for GaData
impl Sync for GaData
impl Unpin for GaData
impl UnwindSafe for GaData
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