Struct google_api_proto::google::firestore::v1beta1::PartitionQueryResponse
source · pub struct PartitionQueryResponse {
pub partitions: Vec<Cursor>,
pub next_page_token: String,
}
Expand description
The response for [Firestore.PartitionQuery][google.firestore.v1beta1.Firestore.PartitionQuery].
Fields§
§partitions: 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.
next_page_token: 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.
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§impl Message for PartitionQueryResponse
impl Message for PartitionQueryResponse
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for PartitionQueryResponse
impl PartialEq for PartitionQueryResponse
source§fn eq(&self, other: &PartitionQueryResponse) -> bool
fn eq(&self, other: &PartitionQueryResponse) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq 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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request