Struct google_youtubeanalytics2::QueryResponse [−][src]
pub struct QueryResponse { pub kind: Option<String>, pub rows: Option<Vec<Vec<String>>>, pub errors: Option<Errors>, pub column_headers: Option<Vec<ResultTableColumnHeader>>, }
Response message for TargetedQueriesService.Query.
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).
- query reports (response)
Fields
kind: Option<String>
This value specifies the type of data included in the API response.
For the query method, the kind property value will be
youtubeAnalytics#resultTable
.
rows: Option<Vec<Vec<String>>>
The list contains all rows of the result table. Each item in the list is
an array that contains comma-delimited data corresponding to a single row
of data. The order of the comma-delimited data fields will match the
order of the columns listed in the columnHeaders
field.
If no data is available for the given query, the rows
element will be
omitted from the response.
The response for a query with the day
dimension will not contain rows for
the most recent days.
errors: Option<Errors>
When set, indicates that the operation failed.
column_headers: Option<Vec<ResultTableColumnHeader>>
This value specifies information about the data returned in the rows
fields. Each item in the columnHeaders
list identifies a field returned
in the rows
value, which contains a list of comma-delimited data. The
columnHeaders
list will begin with the dimensions specified in the API
request, which will be followed by the metrics specified in the API
request. The order of both dimensions and metrics will match the ordering
in the API request. For example, if the API request contains the parameters
dimensions=ageGroup,gender&metrics=viewerPercentage
, the API response
will return columns in this order: ageGroup
, gender
,
viewerPercentage
.
Trait Implementations
impl Default for QueryResponse
[src]
impl Default for QueryResponse
fn default() -> QueryResponse
[src]
fn default() -> QueryResponse
Returns the "default value" for a type. Read more
impl Clone for QueryResponse
[src]
impl Clone for QueryResponse
fn clone(&self) -> QueryResponse
[src]
fn clone(&self) -> QueryResponse
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for QueryResponse
[src]
impl Debug for QueryResponse
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl ResponseResult for QueryResponse
[src]
impl ResponseResult for QueryResponse
Auto Trait Implementations
impl Send for QueryResponse
impl Send for QueryResponse
impl Sync for QueryResponse
impl Sync for QueryResponse