pub struct QuerySnapshot<'a> { /* private fields */ }Expand description
A QuerySnapshot contains zero or more DocumentSnapshot objects.
Implementations§
Source§impl<'a> QuerySnapshot<'a>
impl<'a> QuerySnapshot<'a>
Sourcepub fn documents(&self) -> &Vec<DocumentSnapshot<'a>>
pub fn documents(&self) -> &Vec<DocumentSnapshot<'a>>
The documents in this snapshot.
Sourcepub fn iter(&self) -> Iter<'_, DocumentSnapshot<'a>>
pub fn iter(&self) -> Iter<'_, DocumentSnapshot<'a>>
Iterates over the document snapshots.
Trait Implementations§
Source§impl<'a> Clone for QuerySnapshot<'a>
impl<'a> Clone for QuerySnapshot<'a>
Source§fn clone(&self) -> QuerySnapshot<'a>
fn clone(&self) -> QuerySnapshot<'a>
Returns a duplicate 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<'a> Debug for QuerySnapshot<'a>
impl<'a> Debug for QuerySnapshot<'a>
Source§impl<'a> IntoIterator for &'a QuerySnapshot<'a>
impl<'a> IntoIterator for &'a QuerySnapshot<'a>
Auto Trait Implementations§
impl<'a> Freeze for QuerySnapshot<'a>
impl<'a> !RefUnwindSafe for QuerySnapshot<'a>
impl<'a> Send for QuerySnapshot<'a>
impl<'a> Sync for QuerySnapshot<'a>
impl<'a> Unpin for QuerySnapshot<'a>
impl<'a> !UnwindSafe for QuerySnapshot<'a>
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