pub mod decoder_type;
pub mod proto_morphist;
pub use decoder_type::DecoderType;
pub use proto_morphist::ProtoMorphist;
#[derive(Debug)]
pub struct ProtoTypeConversion {
pub rust_ty: String,
pub do_try_from: bool,
pub parser: String,
pub is_optional: bool,
pub is_vec: bool,
pub is_sized_int: bool,
}
impl Default for ProtoTypeConversion {
fn default() -> Self {
Self {
rust_ty: "unknown_type".to_string(),
do_try_from: false,
parser: "unknown_parser".to_string(),
is_optional: false,
is_vec: false,
is_sized_int: false,
}
}
}