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 custom to this property. This includes user, event, & item scoped custom dimensions; to learn more about custom dimensions, see https://support.google.com/analytics/answer/14240153. This also include custom channel groups; to learn more about custom channel groups, see https://support.google.com/analytics/answer/13051316.
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
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more