Struct google_mybusiness4::api::DimensionalMetricValue
source · pub struct DimensionalMetricValue {
pub metric_option: Option<String>,
pub time_dimension: Option<TimeDimension>,
pub value: Option<i64>,
}
Expand description
A value for a single metric with a given time dimension.
This type is not used in any activity, and only used as part of another schema.
Fields§
§metric_option: Option<String>
The option that requested this dimensional value.
time_dimension: Option<TimeDimension>
The dimension for the value.
value: Option<i64>
The value. If no value is set, then the requested data is missing.
Trait Implementations§
source§impl Clone for DimensionalMetricValue
impl Clone for DimensionalMetricValue
source§fn clone(&self) -> DimensionalMetricValue
fn clone(&self) -> DimensionalMetricValue
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 DimensionalMetricValue
impl Debug for DimensionalMetricValue
source§impl Default for DimensionalMetricValue
impl Default for DimensionalMetricValue
source§fn default() -> DimensionalMetricValue
fn default() -> DimensionalMetricValue
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DimensionalMetricValue
impl<'de> Deserialize<'de> for DimensionalMetricValue
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 DimensionalMetricValue
impl Serialize for DimensionalMetricValue
impl Part for DimensionalMetricValue
Auto Trait Implementations§
impl RefUnwindSafe for DimensionalMetricValue
impl Send for DimensionalMetricValue
impl Sync for DimensionalMetricValue
impl Unpin for DimensionalMetricValue
impl UnwindSafe for DimensionalMetricValue
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