Struct google_analytics3::RealtimeData
source · pub struct RealtimeData {
pub kind: Option<String>,
pub rows: Option<Vec<Vec<String>>>,
pub total_results: Option<i32>,
pub profile_info: Option<RealtimeDataProfileInfo>,
pub column_headers: Option<Vec<RealtimeDataColumnHeaders>>,
pub query: Option<RealtimeDataQuery>,
pub totals_for_all_results: Option<HashMap<String, String>>,
pub id: Option<String>,
pub self_link: Option<String>,
}Expand description
Real time 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).
- realtime get data (response)
Fields§
§kind: Option<String>Resource type.
rows: Option<Vec<Vec<String>>>Real time 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.
profile_info: Option<RealtimeDataProfileInfo>Information for the view (profile), for which the real time data was requested.
column_headers: Option<Vec<RealtimeDataColumnHeaders>>Column headers that list dimension names followed by the metric names. The order of dimensions and metrics is same as specified in the request.
query: Option<RealtimeDataQuery>Real time 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.
self_link: Option<String>Link to this page.
Trait Implementations§
source§impl Clone for RealtimeData
impl Clone for RealtimeData
source§fn clone(&self) -> RealtimeData
fn clone(&self) -> RealtimeData
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RealtimeData
impl Debug for RealtimeData
source§impl Default for RealtimeData
impl Default for RealtimeData
source§fn default() -> RealtimeData
fn default() -> RealtimeData
source§impl<'de> Deserialize<'de> for RealtimeData
impl<'de> Deserialize<'de> for RealtimeData
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 RealtimeData
impl Serialize for RealtimeData
impl ResponseResult for RealtimeData
Auto Trait Implementations§
impl Freeze for RealtimeData
impl RefUnwindSafe for RealtimeData
impl Send for RealtimeData
impl Sync for RealtimeData
impl Unpin for RealtimeData
impl UnwindSafe for RealtimeData
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