pub struct InMemoryDatastore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for InMemoryDatastore
impl Clone for InMemoryDatastore
Source§fn clone(&self) -> InMemoryDatastore
fn clone(&self) -> InMemoryDatastore
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 Datastore for InMemoryDatastore
impl Datastore for InMemoryDatastore
fn get_document(&self, key: &DocumentKey) -> FirestoreResult<DocumentSnapshot>
fn set_document( &self, key: &DocumentKey, data: MapValue, _merge: bool, ) -> FirestoreResult<()>
fn run_query( &self, query: &QueryDefinition, ) -> FirestoreResult<Vec<DocumentSnapshot>>
Source§impl Default for InMemoryDatastore
impl Default for InMemoryDatastore
Source§fn default() -> InMemoryDatastore
fn default() -> InMemoryDatastore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InMemoryDatastore
impl RefUnwindSafe for InMemoryDatastore
impl Send for InMemoryDatastore
impl Sync for InMemoryDatastore
impl Unpin for InMemoryDatastore
impl UnwindSafe for InMemoryDatastore
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