[][src]Struct firestore_db_and_auth::documents::List

pub struct List<'a, T, BEARER> { /* fields omitted */ }

This type is returned as a result by [list]. Use it as an iterator. The paging API is used internally and new pages are fetched lazily.

Please note that this API acts as an iterator of same-like documents. This type is not suitable if you want to list documents of different types.

Trait Implementations

impl<'a, T, BEARER> Iterator for List<'a, T, BEARER> where
    T: Deserialize<'b>,
    BEARER: FirebaseAuthBearer
[src]

type Item = Result<(T, Document)>

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, T, BEARER> Unpin for List<'a, T, BEARER> where
    T: Unpin

impl<'a, T, BEARER> Sync for List<'a, T, BEARER> where
    BEARER: Sync,
    T: Sync

impl<'a, T, BEARER> Send for List<'a, T, BEARER> where
    BEARER: Sync,
    T: Send

impl<'a, T, BEARER> UnwindSafe for List<'a, T, BEARER> where
    BEARER: RefUnwindSafe,
    T: UnwindSafe

impl<'a, T, BEARER> RefUnwindSafe for List<'a, T, BEARER> where
    BEARER: RefUnwindSafe,
    T: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<I> IteratorRandom for I where
    I: Iterator
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<T> Typeable for T where
    T: Any

impl<T> IntoCollection<T> for T

impl<T, I> AsResult<T, I> for T where
    I: Input,