pub fn struct_ser(input: &ItemStruct, cratename: Ident) -> Result<TokenStream2>