collection name Tag

This commit is contained in:
mbecker20
2023-07-30 14:04:32 -04:00
parent 8b93b5d273
commit 750f1fc379

View File

@@ -26,6 +26,7 @@ pub enum Tag {
#[typeshare]
#[derive(Serialize, Deserialize, Debug, Clone, Builder, MungosIndexed, StringObjectId, Partial)]
#[partial_derive(Serialize, Deserialize, Debug, Clone, Default)]
#[collection_name(Tag)]
#[unique_doc_index(doc! { "name": 1, "category": 1 })]
pub struct CustomTag {
#[serde(