pub struct RealtimeData {
pub column_headers: Option<Vec<RealtimeDataColumnHeaders>>,
pub id: Option<String>,
pub kind: Option<String>,
pub profile_info: Option<RealtimeDataProfileInfo>,
pub query: Option<RealtimeDataQuery>,
pub rows: Option<Vec<Vec<String>>>,
pub self_link: Option<String>,
pub total_results: Option<i32>,
pub totals_for_all_results: Option<HashMap<String, 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§
§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.
id: Option<String>
Unique ID for this data response.
kind: Option<String>
Resource type.
profile_info: Option<RealtimeDataProfileInfo>
Information for the view (profile), for which the real time data was requested.
query: Option<RealtimeDataQuery>
Real time data request query parameters.
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.
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§
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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