Crate oximod

Source

Traits§

ModelTrait
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 Model trait for mongodb schema support.