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

The state of the query after the current batch.

The result type for every entity in entity_results.

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.

The number of results skipped, typically because of an offset.

A cursor that points to the position after the last result in the batch.

A cursor that points to the position after the last skipped result. Will be set when skipped_results != 0.

The results for this batch.

Trait Implementations

impl Default for QueryResultBatch
[src]

Returns the "default value" for a type. Read more

impl Clone for QueryResultBatch
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for QueryResultBatch
[src]

Formats the value using the given formatter. Read more

impl Part for QueryResultBatch
[src]

Auto Trait Implementations