From 8bc93b1ab5f20b371768db2c35c3074506460b3f Mon Sep 17 00:00:00 2001 From: Hinome <57831472+RealHinome@users.noreply.github.com> Date: Thu, 16 May 2024 22:01:04 +0200 Subject: [PATCH] add Default derive --- squid/src/models/database.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/squid/src/models/database.rs b/squid/src/models/database.rs index 9adad18..3094299 100644 --- a/squid/src/models/database.rs +++ b/squid/src/models/database.rs @@ -7,7 +7,7 @@ lazy_static! { } /// Text representation in the database. -#[derive(Serialize, Deserialize, PartialEq, Debug, Clone)] +#[derive(Serialize, Deserialize, PartialEq, Default, Debug, Clone)] pub struct Entity { /// Unique identifier of the text. pub id: String,