pub struct AggregatedRow {
pub group_keys: Vec<Value>,
pub values: Vec<AggregatedValue>,
}Expand description
A single row of aggregated query results.
One AggregatedRow is produced per distinct grouping tuple. values
contains one AggregatedValue per requested aggregate, in the same
order as the AggregateFunction list passed to the query.
Fields§
§group_keys: Vec<Value>Values of the GROUP BY columns that identify this group, in the
order the columns were declared.
values: Vec<AggregatedValue>Aggregate results, one per AggregateFunction in the query.
Trait Implementations§
Source§impl Clone for AggregatedRow
impl Clone for AggregatedRow
Source§fn clone(&self) -> AggregatedRow
fn clone(&self) -> AggregatedRow
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 AggregatedRow
impl Debug for AggregatedRow
Source§impl<'de> Deserialize<'de> for AggregatedRow
impl<'de> Deserialize<'de> for AggregatedRow
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 AggregatedRow
impl PartialEq for AggregatedRow
Source§impl Serialize for AggregatedRow
impl Serialize for AggregatedRow
impl StructuralPartialEq for AggregatedRow
Auto Trait Implementations§
impl Freeze for AggregatedRow
impl RefUnwindSafe for AggregatedRow
impl Send for AggregatedRow
impl Sync for AggregatedRow
impl Unpin for AggregatedRow
impl UnsafeUnpin for AggregatedRow
impl UnwindSafe for AggregatedRow
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