Struct firestore::FirestorePartitionQueryParams
source · pub struct FirestorePartitionQueryParams {
pub query_params: FirestoreQueryParams,
pub partition_count: u32,
pub page_size: u32,
pub page_token: Option<String>,
}
Fields§
§query_params: FirestoreQueryParams
§partition_count: u32
§page_size: u32
§page_token: Option<String>
Implementations§
source§impl FirestorePartitionQueryParams
impl FirestorePartitionQueryParams
pub fn new(
query_params: FirestoreQueryParams,
partition_count: u32,
page_size: u32
) -> Self
pub fn query_params(&mut self, value: FirestoreQueryParams) -> &mut Self
pub fn with_query_params(self, value: FirestoreQueryParams) -> Self
pub fn partition_count(&mut self, value: u32) -> &mut Self
pub fn with_partition_count(self, value: u32) -> Self
pub fn page_size(&mut self, value: u32) -> &mut Self
pub fn with_page_size(self, value: u32) -> Self
pub fn page_token(&mut self, value: String) -> &mut Self
pub fn reset_page_token(&mut self) -> &mut Self
pub fn mopt_page_token(&mut self, value: Option<String>) -> &mut Self
pub fn with_page_token(self, value: String) -> Self
pub fn without_page_token(self) -> Self
pub fn opt_page_token(self, value: Option<String>) -> Self
Trait Implementations§
source§impl Clone for FirestorePartitionQueryParams
impl Clone for FirestorePartitionQueryParams
source§fn clone(&self) -> FirestorePartitionQueryParams
fn clone(&self) -> FirestorePartitionQueryParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl From<FirestorePartitionQueryParamsInit> for FirestorePartitionQueryParams
impl From<FirestorePartitionQueryParamsInit> for FirestorePartitionQueryParams
source§fn from(value: FirestorePartitionQueryParamsInit) -> Self
fn from(value: FirestorePartitionQueryParamsInit) -> Self
Converts to this type from the input type.
source§impl PartialEq<FirestorePartitionQueryParams> for FirestorePartitionQueryParams
impl PartialEq<FirestorePartitionQueryParams> for FirestorePartitionQueryParams
source§fn eq(&self, other: &FirestorePartitionQueryParams) -> bool
fn eq(&self, other: &FirestorePartitionQueryParams) -> bool
impl StructuralPartialEq for FirestorePartitionQueryParams
Auto Trait Implementations§
impl RefUnwindSafe for FirestorePartitionQueryParams
impl Send for FirestorePartitionQueryParams
impl Sync for FirestorePartitionQueryParams
impl Unpin for FirestorePartitionQueryParams
impl UnwindSafe for FirestorePartitionQueryParams
Blanket Implementations§
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request