pub struct PartitionQueryResponse {
pub next_page_token: Option<String>,
pub partitions: Option<Vec<Cursor>>,
}
Expand description
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).
- databases documents partition query projects (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, or that the query is not yet supported for partitioning.
Trait Implementations§
Source§impl Clone for PartitionQueryResponse
impl Clone for PartitionQueryResponse
Source§fn clone(&self) -> PartitionQueryResponse
fn clone(&self) -> PartitionQueryResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for PartitionQueryResponse
impl Debug for PartitionQueryResponse
Source§impl Default for PartitionQueryResponse
impl Default for PartitionQueryResponse
Source§fn default() -> PartitionQueryResponse
fn default() -> PartitionQueryResponse
Source§impl<'de> Deserialize<'de> for PartitionQueryResponse
impl<'de> Deserialize<'de> for PartitionQueryResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for PartitionQueryResponse
impl Serialize for PartitionQueryResponse
impl ResponseResult for PartitionQueryResponse
Auto Trait Implementations§
impl Freeze for PartitionQueryResponse
impl RefUnwindSafe for PartitionQueryResponse
impl Send for PartitionQueryResponse
impl Sync for PartitionQueryResponse
impl Unpin for PartitionQueryResponse
impl UnwindSafe for PartitionQueryResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more