1use serde::{Deserialize, Serialize};
2use syn;
3
4#[derive(Serialize, Deserialize, Debug, Hash, PartialEq, Eq)]
5pub struct Signature {
6 pub name: String,
7}
8
9pub fn syn_sig_to_reduced(sig: &syn::Signature) -> Signature {
10 Signature {
11 name: format!("{}", sig.ident),
12 }
13}