Skip to content

Commit

Permalink
add Default derive
Browse files Browse the repository at this point in the history
  • Loading branch information
RealHinome authored May 16, 2024
1 parent 05973c3 commit 8bc93b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion squid/src/models/database.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8bc93b1

Please sign in to comment.