pub struct AggregationValue {
pub groups: Option<HashMap<String, String>>,
pub string_value: Option<String>,
pub numeric_value: Option<f64>,
pub distinct_count: Option<i64>,
pub distinct_counts: Option<HashMap<String, f64>>,
}Fields§
§groups: Option<HashMap<String, String>>Construct a type with a set of properties K of type T
string_value: Option<String>§numeric_value: Option<f64>§distinct_count: Option<i64>§distinct_counts: Option<HashMap<String, f64>>Construct a type with a set of properties K of type T
Implementations§
Source§impl AggregationValue
impl AggregationValue
pub fn new() -> AggregationValue
Trait Implementations§
Source§impl Clone for AggregationValue
impl Clone for AggregationValue
Source§fn clone(&self) -> AggregationValue
fn clone(&self) -> AggregationValue
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 AggregationValue
impl Debug for AggregationValue
Source§impl Default for AggregationValue
impl Default for AggregationValue
Source§fn default() -> AggregationValue
fn default() -> AggregationValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AggregationValue
impl<'de> Deserialize<'de> for AggregationValue
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 AggregationValue
impl PartialEq for AggregationValue
Source§impl Serialize for AggregationValue
impl Serialize for AggregationValue
impl StructuralPartialEq for AggregationValue
Auto Trait Implementations§
impl Freeze for AggregationValue
impl RefUnwindSafe for AggregationValue
impl Send for AggregationValue
impl Sync for AggregationValue
impl Unpin for AggregationValue
impl UnwindSafe for AggregationValue
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