From f24e3f1e3cfff7e821faf4d1b76c409d8c647961 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Wed, 11 Sep 2024 11:29:20 +0200 Subject: [PATCH] fix --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,