1 2 3 4 5
use syn::{DeriveInput, Ident}; pub fn get_struct_name(input: &DeriveInput) -> Ident { input.ident.clone() }