fix
This commit is contained in:
parent
1e9efe4c12
commit
f24e3f1e3c
1 changed files with 2 additions and 2 deletions
|
@ -11,9 +11,9 @@ You can derive the `Model` and `Referencable` traits for your struct. This will
|
|||
use serde::{Deserialize, Serialize};
|
||||
use mongod::Validate;
|
||||
use mongod::Reference;
|
||||
use mongod::derive::{Module, Referencable};
|
||||
use mongod::derive::{Model, Referencable};
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, Module, Referencable)]
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, Model, Referencable)]
|
||||
struct MyStruct {
|
||||
_id: String,
|
||||
name: String,
|
||||
|
|
Loading…
Reference in a new issue