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

Fields

This value specifies the type of data included in the API response. For the query method, the kind property value will be youtubeAnalytics#resultTable.

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.

When set, indicates that the operation failed.

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]

Returns the "default value" for a type. Read more

impl Clone for QueryResponse
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for QueryResponse
[src]

Formats the value using the given formatter. Read more

impl ResponseResult for QueryResponse
[src]

Auto Trait Implementations