Struct google_youtubeanalytics1::ResultTable[][src]

pub struct ResultTable {
    pub kind: Option<String>,
    pub rows: Option<Vec<Vec<String>>>,
    pub column_headers: Option<Vec<ResultTableColumnHeaders>>,
}

Contains a single result table. The table is returned as an array of rows that contain the values for the cells of the table. Depending on the metric or dimension, the cell can contain a string (video ID, country code) or a number (number of views or number of likes).

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.

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 ResultTable
[src]

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

impl Clone for ResultTable
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ResultTable
[src]

Formats the value using the given formatter. Read more

impl ResponseResult for ResultTable
[src]

Auto Trait Implementations

impl Send for ResultTable

impl Sync for ResultTable