1
0
Fork 0
forked from AbleOS/ableos
ableos/dev/src/idl/protocol.rs
2024-09-02 21:50:43 -05:00

19 lines
291 B
Rust

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