pub trait Datastore:
Send
+ Sync
+ 'static {
// Required methods
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>>;
}