pub struct ComputedResult {
pub parent: Option<String>,
pub name: String,
pub type_: Ty,
pub fields: Vec<String>,
pub values: Vec<f64>,
pub metadata: Option<Map>,
}Expand description
An individual result from performing an aggregation/calculation.
Fields§
§parent: Option<String>The parent of this aggregation (if any).
name: StringThe name assigned to this aggregation.
type_: TyThe type of this aggregation.
fields: Vec<String>The fields this aggregation computed over.
values: Vec<f64>The actual values/result of performing this aggregation.
metadata: Option<Map>The user-supplied metadata attached to this aggregation.
Trait Implementations§
Source§impl Clone for ComputedResult
impl Clone for ComputedResult
Source§fn clone(&self) -> ComputedResult
fn clone(&self) -> ComputedResult
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 ComputedResult
impl Debug for ComputedResult
Source§impl<'de> Deserialize<'de> for ComputedResult
impl<'de> Deserialize<'de> for ComputedResult
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 ComputedResult
impl RefUnwindSafe for ComputedResult
impl Send for ComputedResult
impl Sync for ComputedResult
impl Unpin for ComputedResult
impl UnwindSafe for ComputedResult
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