Struct google_mybusiness4::api::MetricValue
source · pub struct MetricValue {
pub dimensional_values: Option<Vec<DimensionalMetricValue>>,
pub metric: Option<String>,
pub total_value: Option<DimensionalMetricValue>,
}
Expand description
A value for a single Metric from a starting time.
This type is not used in any activity, and only used as part of another schema.
Fields§
§dimensional_values: Option<Vec<DimensionalMetricValue>>
Dimensional values for this metric.
metric: Option<String>
The metric for which the value applies.
total_value: Option<DimensionalMetricValue>
The total aggregated value for this metric. Set for the AGGREGATED_TOTAL option.
Trait Implementations§
source§impl Clone for MetricValue
impl Clone for MetricValue
source§fn clone(&self) -> MetricValue
fn clone(&self) -> MetricValue
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 MetricValue
impl Debug for MetricValue
source§impl Default for MetricValue
impl Default for MetricValue
source§fn default() -> MetricValue
fn default() -> MetricValue
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MetricValue
impl<'de> Deserialize<'de> for MetricValue
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
source§impl Serialize for MetricValue
impl Serialize for MetricValue
impl Part for MetricValue
Auto Trait Implementations§
impl RefUnwindSafe for MetricValue
impl Send for MetricValue
impl Sync for MetricValue
impl Unpin for MetricValue
impl UnwindSafe for MetricValue
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