Traits§
- Model
Trait - An asynchronous trait for MongoDB models enabling CRUD operations, typically implemented via the #[derive(Model)] macro.
Functions§
- get_
global_ client - Retrieves the globally-initialized MongoDB client as an
Arc<Client>. - set_
global_ client - Sets the global MongoDB client used internally across the crate.
Derive Macros§
- Model
- Procedural macro to derive the
Modeltrait for mongodb schema support.