pub struct DimensionKeyDescription {
pub dimensions: Option<HashMap<String, String>>,
pub partitions: Option<Vec<f64>>,
pub total: Option<f64>,
}
Expand description
An array of descriptions and aggregated values for each dimension within a dimension group.
Fields§
§dimensions: Option<HashMap<String, String>>
A map of name-value pairs for the dimensions in the group.
partitions: Option<Vec<f64>>
If PartitionBy
was specified, PartitionKeys
contains the dimensions that were.
total: Option<f64>
The aggregated metric value for the dimension(s), over the requested time range.
Trait Implementations§
Source§impl Clone for DimensionKeyDescription
impl Clone for DimensionKeyDescription
Source§fn clone(&self) -> DimensionKeyDescription
fn clone(&self) -> DimensionKeyDescription
Returns a duplicate 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 DimensionKeyDescription
impl Debug for DimensionKeyDescription
Source§impl Default for DimensionKeyDescription
impl Default for DimensionKeyDescription
Source§fn default() -> DimensionKeyDescription
fn default() -> DimensionKeyDescription
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DimensionKeyDescription
impl<'de> Deserialize<'de> for DimensionKeyDescription
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 PartialEq for DimensionKeyDescription
impl PartialEq for DimensionKeyDescription
impl StructuralPartialEq for DimensionKeyDescription
Auto Trait Implementations§
impl Freeze for DimensionKeyDescription
impl RefUnwindSafe for DimensionKeyDescription
impl Send for DimensionKeyDescription
impl Sync for DimensionKeyDescription
impl Unpin for DimensionKeyDescription
impl UnwindSafe for DimensionKeyDescription
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