Struct google_analyticsdata1_beta::api::DimensionMetadata
source · pub struct DimensionMetadata {
pub api_name: Option<String>,
pub category: Option<String>,
pub custom_definition: Option<bool>,
pub deprecated_api_names: Option<Vec<String>>,
pub description: Option<String>,
pub ui_name: Option<String>,
}Expand description
Explains a dimension.
This type is not used in any activity, and only used as part of another schema.
Fields§
§api_name: Option<String>This dimension’s name. Useable in Dimension’s name. For example, eventName.
category: Option<String>The display name of the category that this dimension belongs to. Similar dimensions and metrics are categorized together.
custom_definition: Option<bool>True if the dimension is a custom dimension for this property.
deprecated_api_names: Option<Vec<String>>Still usable but deprecated names for this dimension. If populated, this dimension is available by either apiName or one of deprecatedApiNames for a period of time. After the deprecation period, the dimension will be available only by apiName.
description: Option<String>Description of how this dimension is used and calculated.
ui_name: Option<String>This dimension’s name within the Google Analytics user interface. For example, Event name.
Trait Implementations§
source§impl Clone for DimensionMetadata
impl Clone for DimensionMetadata
source§fn clone(&self) -> DimensionMetadata
fn clone(&self) -> DimensionMetadata
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DimensionMetadata
impl Debug for DimensionMetadata
source§impl Default for DimensionMetadata
impl Default for DimensionMetadata
source§fn default() -> DimensionMetadata
fn default() -> DimensionMetadata
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DimensionMetadata
impl<'de> Deserialize<'de> for DimensionMetadata
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