pub struct MetricMetadata {
pub api_name: String,
pub ui_name: String,
pub description: String,
pub deprecated_api_names: Vec<String>,
pub metric_type: String,
pub expression: String,
pub custom_definition: bool,
pub blocked_reasons: Vec<String>,
pub category: String,
}
Expand description
https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/MetricHeader
Fields§
§api_name: String
§ui_name: String
§description: String
§deprecated_api_names: Vec<String>
§metric_type: String
§expression: String
§custom_definition: bool
§blocked_reasons: Vec<String>
§category: String
Trait Implementations§
Source§impl Clone for MetricMetadata
impl Clone for MetricMetadata
Source§fn clone(&self) -> MetricMetadata
fn clone(&self) -> MetricMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MetricMetadata
impl Debug for MetricMetadata
Source§impl Default for MetricMetadata
impl Default for MetricMetadata
Source§fn default() -> MetricMetadata
fn default() -> MetricMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MetricMetadata
impl<'de> Deserialize<'de> for MetricMetadata
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
Auto Trait Implementations§
impl Freeze for MetricMetadata
impl RefUnwindSafe for MetricMetadata
impl Send for MetricMetadata
impl Sync for MetricMetadata
impl Unpin for MetricMetadata
impl UnwindSafe for MetricMetadata
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more