Struct google_firestore1_beta1::api::PartitionQueryResponse[][src]

pub struct PartitionQueryResponse {
    pub next_page_token: Option<String>,
    pub partitions: Option<Vec<Cursor>>,
}

The response for Firestore.PartitionQuery.

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).

Fields

next_page_token: Option<String>

A page token that may be used to request an additional set of results, up to the number specified by partition_count in the PartitionQuery request. If blank, there are no more results.

partitions: Option<Vec<Cursor>>

Partition results. Each partition is a split point that can be used by RunQuery as a starting or end point for the query results. The RunQuery requests must be made with the same query supplied to this PartitionQuery request. The partition cursors will be ordered according to same ordering as the results of the query supplied to PartitionQuery. For example, if a PartitionQuery request returns partition cursors A and B, running the following three queries will return the entire result set of the original query: * query, end_at A * query, start_at A, end_at B * query, start_at B An empty result may indicate that the query has too few results to be partitioned.

Trait Implementations

impl Clone for PartitionQueryResponse[src]

impl Debug for PartitionQueryResponse[src]

impl Default for PartitionQueryResponse[src]

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

impl ResponseResult for PartitionQueryResponse[src]

impl Serialize for PartitionQueryResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for PartitionQueryResponse[src]

impl Send for PartitionQueryResponse[src]

impl Sync for PartitionQueryResponse[src]

impl Unpin for PartitionQueryResponse[src]

impl UnwindSafe for PartitionQueryResponse[src]

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> Instrument 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.