Struct google_analyticsdata1_beta::api::OrderBy
source · pub struct OrderBy {
pub desc: Option<bool>,
pub dimension: Option<DimensionOrderBy>,
pub metric: Option<MetricOrderBy>,
pub pivot: Option<PivotOrderBy>,
}Expand description
Order bys define how rows will be sorted in the response. For example, ordering rows by descending event count is one ordering, and ordering rows by the event name string is a different ordering.
This type is not used in any activity, and only used as part of another schema.
Fields§
§desc: Option<bool>If true, sorts by descending order.
dimension: Option<DimensionOrderBy>Sorts results by a dimension’s values.
metric: Option<MetricOrderBy>Sorts results by a metric’s values.
pivot: Option<PivotOrderBy>Sorts results by a metric’s values within a pivot column group.
Trait Implementations§
source§impl<'de> Deserialize<'de> for OrderBy
impl<'de> Deserialize<'de> for OrderBy
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>,
Deserialize this value from the given Serde deserializer. Read more