Struct google_datastore1_beta3::api::AggregationResult
source · pub struct AggregationResult {
pub aggregate_properties: Option<HashMap<String, Value>>,
}
Expand description
The result of a single bucket from a Datastore aggregation query. The keys of aggregate_properties
are the same for all results in an aggregation query, unlike entity queries which can have different fields present for each result.
This type is not used in any activity, and only used as part of another schema.
Fields§
§aggregate_properties: Option<HashMap<String, Value>>
The result of the aggregation functions, ex: COUNT(*) AS total_entities
. The key is the alias assigned to the aggregation function on input and the size of this map equals the number of aggregation functions in the query.
Trait Implementations§
source§impl Clone for AggregationResult
impl Clone for AggregationResult
source§fn clone(&self) -> AggregationResult
fn clone(&self) -> AggregationResult
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 AggregationResult
impl Debug for AggregationResult
source§impl Default for AggregationResult
impl Default for AggregationResult
source§fn default() -> AggregationResult
fn default() -> AggregationResult
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AggregationResult
impl<'de> Deserialize<'de> for AggregationResult
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 AggregationResult
impl Serialize for AggregationResult
impl Part for AggregationResult
Auto Trait Implementations§
impl RefUnwindSafe for AggregationResult
impl Send for AggregationResult
impl Sync for AggregationResult
impl Unpin for AggregationResult
impl UnwindSafe for AggregationResult
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