Struct tiny_firestore_odm::Database [−][src]
pub struct Database { /* fields omitted */ }
Expand description
Represents a Firestore database.
Implementations
pub fn collection<T>(&self, name: &str) -> Collection<T> where
T: Serialize + DeserializeOwned + 'static + Unpin,
pub fn collection<T>(&self, name: &str) -> Collection<T> where
T: Serialize + DeserializeOwned + 'static + Unpin,
Returns a top-level collection from this database.
Auto Trait Implementations
impl !RefUnwindSafe for Database
impl !UnwindSafe for Database
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more