Struct firestore_structured_query::Query
source · pub struct Query(/* private fields */);
Implementations§
source§impl Query
impl Query
pub fn collection<S>(collection_id: S) -> Self
pub fn collection_group<S>(collection_id: S) -> Self
pub fn end_at<I>(self, values: I) -> Selfwhere
I: IntoIterator<Item = Value>,
pub fn end_before<I>(self, values: I) -> Selfwhere
I: IntoIterator<Item = Value>,
pub fn limit(self, limit: i32) -> Self
pub fn offset(self, offset: i32) -> Self
pub fn order_by<I>(self, order_by: I) -> Self
pub fn select<I>(self, fields: I) -> Self
pub fn start_after<I>(self, values: I) -> Selfwhere
I: IntoIterator<Item = Value>,
pub fn start_at<I>(self, values: I) -> Selfwhere
I: IntoIterator<Item = Value>,
pub fn where<F>(self, filter: F) -> Self
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnwindSafe for Query
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
Mutably borrows from an owned value. Read more
§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>
Wrap the input message
T
in a tonic::Request