pub struct FirestoreSelectInitialBuilder<'a, D>where
D: FirestoreQuerySupport + FirestoreGetByIdSupport + FirestoreListenSupport + FirestoreAggregatedQuerySupport + Clone + 'static,{ /* private fields */ }Expand description
The initial builder for a Firestore select/query operation.
Created by calling FirestoreExprBuilder::select().
This builder allows specifying initial query parameters like projections (fields to return)
before defining the target collection or document IDs.
Implementations§
Source§impl<'a, D> FirestoreSelectInitialBuilder<'a, D>
impl<'a, D> FirestoreSelectInitialBuilder<'a, D>
Sourcepub fn from<C>(self, collection: C) -> FirestoreSelectDocBuilder<'a, D>where
C: Into<FirestoreQueryCollection>,
pub fn from<C>(self, collection: C) -> FirestoreSelectDocBuilder<'a, D>where
C: Into<FirestoreQueryCollection>,
Specifies the collection or collection group to query documents from.
§Arguments
collection: The ID of the collection or aFirestoreQueryCollectionenum specifying a single collection or a collection group.
§Returns
A FirestoreSelectDocBuilder to further configure the query (filters, ordering, etc.).
Sourcepub fn by_id_in(self, collection: &str) -> FirestoreSelectByIdBuilder<'a, D>
pub fn by_id_in(self, collection: &str) -> FirestoreSelectByIdBuilder<'a, D>
Specifies that documents should be fetched by their IDs from a specific collection.
§Arguments
collection: The ID of the collection where the documents reside.
§Returns
A FirestoreSelectByIdBuilder to specify the document IDs and other options.
Trait Implementations§
Source§impl<'a, D> Clone for FirestoreSelectInitialBuilder<'a, D>
impl<'a, D> Clone for FirestoreSelectInitialBuilder<'a, D>
Source§fn clone(&self) -> FirestoreSelectInitialBuilder<'a, D>
fn clone(&self) -> FirestoreSelectInitialBuilder<'a, D>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a, D> Debug for FirestoreSelectInitialBuilder<'a, D>
impl<'a, D> Debug for FirestoreSelectInitialBuilder<'a, D>
Auto Trait Implementations§
impl<'a, D> Freeze for FirestoreSelectInitialBuilder<'a, D>
impl<'a, D> RefUnwindSafe for FirestoreSelectInitialBuilder<'a, D>where
D: RefUnwindSafe,
impl<'a, D> Send for FirestoreSelectInitialBuilder<'a, D>where
D: Sync,
impl<'a, D> Sync for FirestoreSelectInitialBuilder<'a, D>where
D: Sync,
impl<'a, D> Unpin for FirestoreSelectInitialBuilder<'a, D>
impl<'a, D> UnsafeUnpin for FirestoreSelectInitialBuilder<'a, D>
impl<'a, D> UnwindSafe for FirestoreSelectInitialBuilder<'a, D>where
D: RefUnwindSafe,
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> 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