From 36ad1868b3a39c03c88decaac9f6076e9715c52b Mon Sep 17 00:00:00 2001 From: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com> Date: Tue, 5 Mar 2024 10:14:12 +0000 Subject: [PATCH] Make SiteAggregates derive Copy and Hash (#4501) Co-authored-by: SleeplessOne1917 --- crates/db_schema/src/aggregates/structs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/db_schema/src/aggregates/structs.rs b/crates/db_schema/src/aggregates/structs.rs index 45a43adf8..fd7f70409 100644 --- a/crates/db_schema/src/aggregates/structs.rs +++ b/crates/db_schema/src/aggregates/structs.rs @@ -176,7 +176,7 @@ pub struct PersonPostAggregatesForm { pub published: Option>, } -#[derive(PartialEq, Eq, Debug, Serialize, Deserialize, Clone)] +#[derive(PartialEq, Eq, Debug, Serialize, Deserialize, Clone, Copy, Hash)] #[cfg_attr( feature = "full", derive(Queryable, Selectable, Associations, Identifiable, TS)