Struct google_analytics3::api::GaData[][src]

pub struct GaData {
    pub column_headers: Option<Vec<GaDataColumnHeaders>>,
    pub contains_sampled_data: Option<bool>,
    pub data_last_refreshed: Option<String>,
    pub data_table: Option<GaDataDataTable>,
    pub id: Option<String>,
    pub items_per_page: Option<i32>,
    pub kind: Option<String>,
    pub next_link: Option<String>,
    pub previous_link: Option<String>,
    pub profile_info: Option<GaDataProfileInfo>,
    pub query: Option<GaDataQuery>,
    pub rows: Option<Vec<Vec<String>>>,
    pub sample_size: Option<String>,
    pub sample_space: Option<String>,
    pub self_link: Option<String>,
    pub total_results: Option<i32>,
    pub totals_for_all_results: Option<HashMap<String, String>>,
}

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).

Fields

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.

contains_sampled_data: Option<bool>

Determines if Analytics data contains samples.

data_last_refreshed: Option<String>

The last refreshed time in seconds for Analytics data.

data_table: Option<GaDataDataTable>

no description provided

id: Option<String>

Unique ID for this data 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.

kind: Option<String>

Resource type.

next_link: Option<String>

Link to next page for this Analytics data query.

previous_link: Option<String>

Link to previous page for this Analytics data query.

profile_info: Option<GaDataProfileInfo>

Information for the view (profile), for which the Analytics data was requested.

query: Option<GaDataQuery>

Analytics data request query parameters.

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.

sample_size: Option<String>

The number of samples used to calculate the result.

sample_space: Option<String>

Total size of the sample space from which the samples were selected.

self_link: Option<String>

Link to this page.

total_results: Option<i32>

The total number of rows for the query, regardless of the number of rows in the response.

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.

Trait Implementations

impl Clone for GaData[src]

impl Debug for GaData[src]

impl Default for GaData[src]

impl<'de> Deserialize<'de> for GaData[src]

impl ResponseResult for GaData[src]

impl Serialize for GaData[src]

Auto Trait Implementations

impl RefUnwindSafe for GaData

impl Send for GaData

impl Sync for GaData

impl Unpin for GaData

impl UnwindSafe for GaData

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.