Struct firestore::FirestoreListDocParams
source · pub struct FirestoreListDocParams {
pub collection_id: String,
pub parent: Option<String>,
pub page_size: usize,
pub page_token: Option<String>,
pub order_by: Option<Vec<FirestoreQueryOrder>>,
pub return_only_fields: Option<Vec<String>>,
}
Fields
collection_id: String
parent: Option<String>
page_size: usize
page_token: Option<String>
order_by: Option<Vec<FirestoreQueryOrder>>
return_only_fields: Option<Vec<String>>
Implementations
sourceimpl FirestoreListDocParams
impl FirestoreListDocParams
pub fn new(collection_id: String) -> Self
pub fn collection_id(&mut self, value: String) -> &mut Self
pub fn with_collection_id(self, value: String) -> Self
pub fn parent(&mut self, value: String) -> &mut Self
pub fn reset_parent(&mut self) -> &mut Self
pub fn mopt_parent(&mut self, value: Option<String>) -> &mut Self
pub fn with_parent(self, value: String) -> Self
pub fn without_parent(self) -> Self
pub fn opt_parent(self, value: Option<String>) -> Self
pub fn page_size(&mut self, value: usize) -> &mut Self
pub fn with_page_size(self, value: usize) -> 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
pub fn order_by(&mut self, value: Vec<FirestoreQueryOrder>) -> &mut Self
pub fn reset_order_by(&mut self) -> &mut Self
pub fn mopt_order_by(
&mut self,
value: Option<Vec<FirestoreQueryOrder>>
) -> &mut Self
pub fn with_order_by(self, value: Vec<FirestoreQueryOrder>) -> Self
pub fn without_order_by(self) -> Self
pub fn opt_order_by(self, value: Option<Vec<FirestoreQueryOrder>>) -> Self
pub fn return_only_fields(&mut self, value: Vec<String>) -> &mut Self
pub fn reset_return_only_fields(&mut self) -> &mut Self
pub fn mopt_return_only_fields(
&mut self,
value: Option<Vec<String>>
) -> &mut Self
pub fn with_return_only_fields(self, value: Vec<String>) -> Self
pub fn without_return_only_fields(self) -> Self
pub fn opt_return_only_fields(self, value: Option<Vec<String>>) -> Self
Trait Implementations
sourceimpl Clone for FirestoreListDocParams
impl Clone for FirestoreListDocParams
sourcefn clone(&self) -> FirestoreListDocParams
fn clone(&self) -> FirestoreListDocParams
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FirestoreListDocParams
impl Debug for FirestoreListDocParams
sourceimpl From<FirestoreListDocParamsInit> for FirestoreListDocParams
impl From<FirestoreListDocParamsInit> for FirestoreListDocParams
sourcefn from(value: FirestoreListDocParamsInit) -> Self
fn from(value: FirestoreListDocParamsInit) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<FirestoreListDocParams> for FirestoreListDocParams
impl PartialEq<FirestoreListDocParams> for FirestoreListDocParams
sourcefn eq(&self, other: &FirestoreListDocParams) -> bool
fn eq(&self, other: &FirestoreListDocParams) -> bool
impl Eq for FirestoreListDocParams
impl StructuralEq for FirestoreListDocParams
impl StructuralPartialEq for FirestoreListDocParams
Auto Trait Implementations
impl RefUnwindSafe for FirestoreListDocParams
impl Send for FirestoreListDocParams
impl Sync for FirestoreListDocParams
impl Unpin for FirestoreListDocParams
impl UnwindSafe for FirestoreListDocParams
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request