in src/common.rs [8:18]
fn generate_serializer(&self) -> proc_macro2::TokenStream;
/// Returns the deserializer code block as a token stream.
fn generate_deserializer(&self) -> proc_macro2::TokenStream;
/// Returns the curent version.
fn version(&self) -> u16;
/// Returns the type name as string.
fn ty(&self) -> String;
}
/// Describes a structure and it's fields.
pub(crate) struct GenericDescriptor<T> {