[][src]Struct google_datastore1_beta3::QueryResultBatch

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 Clone for QueryResultBatch[src]

impl Debug for QueryResultBatch[src]

impl Default for QueryResultBatch[src]

impl<'de> Deserialize<'de> for QueryResultBatch[src]

impl Part for QueryResultBatch[src]

impl Serialize for QueryResultBatch[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any