Reduce types that need to be derived

This commit is contained in:
Greg Johnston 2022-10-28 20:58:38 -04:00
parent 572187399f
commit c3afa0b08d
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ pub fn server_macro_impl(args: proc_macro::TokenStream, s: TokenStream2) -> Resu
let field_names_3 = field_names.clone();
Ok(quote::quote! {
#[derive(Copy, Clone, Default, PartialEq, Eq, Hash, Serialize, Deserialize, Debug)]
#[derive(Serialize, Deserialize)]
pub struct #struct_name {
#(#fields),*
}