diff --git a/README.md b/README.md index d24565f..b2dad84 100644 --- a/README.md +++ b/README.md @@ -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,