pub struct RunAggregationQueryRequest {
pub aggregation_query: Option<AggregationQuery>,
pub explain_options: Option<ExplainOptions>,
pub gql_query: Option<GqlQuery>,
pub partition_id: Option<PartitionId>,
pub read_options: Option<ReadOptions>,
}
Expand description
The request for Datastore.RunAggregationQuery.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- run aggregation query projects (request)
Fields§
§aggregation_query: Option<AggregationQuery>
The query to run.
explain_options: Option<ExplainOptions>
Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned.
gql_query: Option<GqlQuery>
The GQL query to run. This query must be an aggregation query.
partition_id: Option<PartitionId>
Entities are partitioned into subsets, identified by a partition ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID.
read_options: Option<ReadOptions>
The options for this query.
Trait Implementations§
Source§impl Clone for RunAggregationQueryRequest
impl Clone for RunAggregationQueryRequest
Source§fn clone(&self) -> RunAggregationQueryRequest
fn clone(&self) -> RunAggregationQueryRequest
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 RunAggregationQueryRequest
impl Debug for RunAggregationQueryRequest
Source§impl Default for RunAggregationQueryRequest
impl Default for RunAggregationQueryRequest
Source§fn default() -> RunAggregationQueryRequest
fn default() -> RunAggregationQueryRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RunAggregationQueryRequest
impl<'de> Deserialize<'de> for RunAggregationQueryRequest
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
impl RequestValue for RunAggregationQueryRequest
Auto Trait Implementations§
impl Freeze for RunAggregationQueryRequest
impl RefUnwindSafe for RunAggregationQueryRequest
impl Send for RunAggregationQueryRequest
impl Sync for RunAggregationQueryRequest
impl Unpin for RunAggregationQueryRequest
impl UnwindSafe for RunAggregationQueryRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more