pub struct RunQueryResponse {
pub batch: Option<QueryResultBatch>,
pub explain_metrics: Option<ExplainMetrics>,
pub query: Option<Query>,
pub transaction: Option<Vec<u8>>,
}Expand description
The response 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 (response)
Fields§
§batch: Option<QueryResultBatch>A batch of query results. This is always present unless running a query under explain-only mode: RunQueryRequest.explain_options was provided and ExplainOptions.analyze was set to false.
explain_metrics: Option<ExplainMetrics>Query explain metrics. This is only present when the RunQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream.
query: Option<Query>The parsed form of the GqlQuery from the request, if it was set.
transaction: Option<Vec<u8>>The identifier of the transaction that was started as part of this RunQuery request. Set only when ReadOptions.new_transaction was set in RunQueryRequest.read_options.
Trait Implementations§
Source§impl Clone for RunQueryResponse
impl Clone for RunQueryResponse
Source§fn clone(&self) -> RunQueryResponse
fn clone(&self) -> RunQueryResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more