diff options
Diffstat (limited to 'generator/src/structs.rs')
-rw-r--r-- | generator/src/structs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/src/structs.rs b/generator/src/structs.rs index 9dc6fc7..7daa8d4 100644 --- a/generator/src/structs.rs +++ b/generator/src/structs.rs @@ -147,7 +147,7 @@ pub fn create_enum( let strukt = format!( " {docs} -#[derive(Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)] +#[derive(Debug, Clone, Copy, PartialEq, Eq, serde::Serialize, serde::Deserialize)] pub enum {name} {{ {variants} }}" |