pub struct ConvertedDocumentReference<C>where
C: FirestoreDataConverter,{ /* private fields */ }Implementations§
Source§impl<C> ConvertedDocumentReference<C>where
C: FirestoreDataConverter,
impl<C> ConvertedDocumentReference<C>where
C: FirestoreDataConverter,
Sourcepub fn path(&self) -> &ResourcePath
pub fn path(&self) -> &ResourcePath
Full resource path for the document.
Sourcepub fn parent(&self) -> CollectionReference
pub fn parent(&self) -> CollectionReference
Returns the parent collection.
Sourcepub fn raw(&self) -> &DocumentReference
pub fn raw(&self) -> &DocumentReference
Provides access to the untyped document reference.
pub fn with_converter<D>(&self, converter: D) -> ConvertedDocumentReference<D>where
D: FirestoreDataConverter,
Trait Implementations§
Source§impl<C> Clone for ConvertedDocumentReference<C>where
C: FirestoreDataConverter + Clone,
impl<C> Clone for ConvertedDocumentReference<C>where
C: FirestoreDataConverter + Clone,
Source§fn clone(&self) -> ConvertedDocumentReference<C>
fn clone(&self) -> ConvertedDocumentReference<C>
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 moreAuto Trait Implementations§
impl<C> Freeze for ConvertedDocumentReference<C>
impl<C> RefUnwindSafe for ConvertedDocumentReference<C>where
C: RefUnwindSafe,
impl<C> Send for ConvertedDocumentReference<C>
impl<C> Sync for ConvertedDocumentReference<C>
impl<C> Unpin for ConvertedDocumentReference<C>
impl<C> UnwindSafe for ConvertedDocumentReference<C>where
C: 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