/// generate implementation for decoding kf protocol
generate implementation for decoding kf protocol
generate implementation for decoding kf protocol
pub(crate) fn parse_and_generate_api(input: &DeriveInput) -> TokenStream {
    let name = &input.ident;
    match input.data {
        Data::Struct(ref data) => generate_api(data, name),
        _ => unimplemented!(),
    }
}
pub ( crate ) fn parse_and_generate_api ( input : & DeriveInput ) -> TokenStream { let name = & input . ident ; match input . data { Data :: Struct ( ref data ) => generate_api ( data , name ) , _ => unimplemented ! ( ) , } }
generate implementation for decoding kf protocol
generate implementation for decoding kf protocol
input
&DeriveInput