pub struct AggregationResultBatch {
pub aggregation_results: Option<Vec<AggregationResult>>,
pub more_results: Option<String>,
pub read_time: Option<DateTime<Utc>>,
}
Expand description
A batch of aggregation results produced by an aggregation query.
This type is not used in any activity, and only used as part of another schema.
Fields§
§aggregation_results: Option<Vec<AggregationResult>>
The aggregation results for this batch.
more_results: Option<String>
The state of the query after the current batch. Only COUNT(*) aggregations are supported in the initial launch. Therefore, expected result type is limited to NO_MORE_RESULTS
.
read_time: Option<DateTime<Utc>>
Read timestamp this batch was returned from. In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch’s read timestamp is valid for all preceding batches.
Trait Implementations§
source§impl Clone for AggregationResultBatch
impl Clone for AggregationResultBatch
source§fn clone(&self) -> AggregationResultBatch
fn clone(&self) -> AggregationResultBatch
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 AggregationResultBatch
impl Debug for AggregationResultBatch
source§impl Default for AggregationResultBatch
impl Default for AggregationResultBatch
source§fn default() -> AggregationResultBatch
fn default() -> AggregationResultBatch
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AggregationResultBatch
impl<'de> Deserialize<'de> for AggregationResultBatch
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 AggregationResultBatch
impl Serialize for AggregationResultBatch
impl Part for AggregationResultBatch
Auto Trait Implementations§
impl RefUnwindSafe for AggregationResultBatch
impl Send for AggregationResultBatch
impl Sync for AggregationResultBatch
impl Unpin for AggregationResultBatch
impl UnwindSafe for AggregationResultBatch
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