pub struct RunQueryRequest {
pub database_id: Option<String>,
pub explain_options: Option<ExplainOptions>,
pub gql_query: Option<GqlQuery>,
pub partition_id: Option<PartitionId>,
pub property_mask: Option<PropertyMask>,
pub query: Option<Query>,
pub read_options: Option<ReadOptions>,
}
Expand description
The request for Datastore.RunQuery.
§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 query projects (request)
Fields§
§database_id: Option<String>
The ID of the database against which to make the request. ‘(default)’ is not allowed; please use empty string ‘’ to refer the default database.
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 a non-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.
property_mask: Option<PropertyMask>
The properties to return. This field must not be set for a projection query. See LookupRequest.property_mask.
query: Option<Query>
The query to run.
read_options: Option<ReadOptions>
The options for this query.
Trait Implementations§
Source§impl Clone for RunQueryRequest
impl Clone for RunQueryRequest
Source§fn clone(&self) -> RunQueryRequest
fn clone(&self) -> RunQueryRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for RunQueryRequest
impl Debug for RunQueryRequest
Source§impl Default for RunQueryRequest
impl Default for RunQueryRequest
Source§fn default() -> RunQueryRequest
fn default() -> RunQueryRequest
Source§impl<'de> Deserialize<'de> for RunQueryRequest
impl<'de> Deserialize<'de> for RunQueryRequest
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>,
Source§impl Serialize for RunQueryRequest
impl Serialize for RunQueryRequest
impl RequestValue for RunQueryRequest
Auto Trait Implementations§
impl Freeze for RunQueryRequest
impl RefUnwindSafe for RunQueryRequest
impl Send for RunQueryRequest
impl Sync for RunQueryRequest
impl Unpin for RunQueryRequest
impl UnwindSafe for RunQueryRequest
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
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>
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>
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