pub enum ProtocolTypes { Byte, } pub struct Decorator { pub name: String, pub value: Option, } pub struct Protocol { pub name: String, pub decorators: Vec, } pub struct IDLEnum { pub name: String, pub accepted_values: Vec<(String, u64)>, }