diff options
| author | Joe Carstairs <me@joeac.net> | 2024-12-06 13:58:47 +0000 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2024-12-06 13:58:47 +0000 |
| commit | 4dbbe1927c62426cca0da1f9645c24e4db52d997 (patch) | |
| tree | 55a53e5a847e24f284b52730d6a8c00cac573b8d /rust/schist_models/src | |
| parent | 8bd11324b467fadd49258548268c85cdaf127097 (diff) | |
Category impls Clone
Diffstat (limited to 'rust/schist_models/src')
| -rw-r--r-- | rust/schist_models/src/category.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/schist_models/src/category.rs b/rust/schist_models/src/category.rs index c85ff51..e3c9938 100644 --- a/rust/schist_models/src/category.rs +++ b/rust/schist_models/src/category.rs @@ -4,7 +4,7 @@ use serde::{Deserialize, Serialize}; use crate::{budget_period_unit::BudgetPeriodUnit, date_utc::DateUtc}; -#[derive(Builder, Queryable, Identifiable, Selectable, Debug, PartialEq, Serialize, Deserialize, Insertable)] +#[derive(Builder, Clone, Queryable, Identifiable, Selectable, Debug, PartialEq, Serialize, Deserialize, Insertable)] #[diesel(table_name = crate::schema::categories)] pub struct Category { pub id: i32, |
