Struct google_datastore1::QueryResultBatch [−][src]
pub struct QueryResultBatch { pub more_results: Option<String>, pub entity_result_type: Option<String>, pub snapshot_version: Option<String>, pub skipped_results: Option<i32>, pub end_cursor: Option<String>, pub skipped_cursor: Option<String>, pub entity_results: Option<Vec<EntityResult>>, }
A batch of results produced by a query.
This type is not used in any activity, and only used as part of another schema.
Fields
more_results: Option<String>
The state of the query after the current batch.
entity_result_type: Option<String>
The result type for every entity in entity_results
.
snapshot_version: Option<String>
The version number of the snapshot this batch was returned from.
This applies to the range of results from the query's start_cursor
(or
the beginning of the query if no cursor was given) to this batch's
end_cursor
(not the query's end_cursor
).
In a single transaction, subsequent query result batches for the same query can have a greater snapshot version number. Each batch's snapshot version is valid for all preceding batches. The value will be zero for eventually consistent queries.
skipped_results: Option<i32>
The number of results skipped, typically because of an offset.
end_cursor: Option<String>
A cursor that points to the position after the last result in the batch.
skipped_cursor: Option<String>
A cursor that points to the position after the last skipped result.
Will be set when skipped_results
!= 0.
entity_results: Option<Vec<EntityResult>>
The results for this batch.
Trait Implementations
impl Default for QueryResultBatch
[src]
impl Default for QueryResultBatch
fn default() -> QueryResultBatch
[src]
fn default() -> QueryResultBatch
Returns the "default value" for a type. Read more
impl Clone for QueryResultBatch
[src]
impl Clone for QueryResultBatch
fn clone(&self) -> QueryResultBatch
[src]
fn clone(&self) -> QueryResultBatch
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for QueryResultBatch
[src]
impl Debug for QueryResultBatch
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for QueryResultBatch
[src]
impl Part for QueryResultBatch
Auto Trait Implementations
impl Send for QueryResultBatch
impl Send for QueryResultBatch
impl Sync for QueryResultBatch
impl Sync for QueryResultBatch