ableos/dev/src/idl/protocol.rs

19 lines
291 B
Rust
Raw Normal View History

2024-08-30 12:31:45 -05:00
pub enum ProtocolTypes {
Byte,
}
pub struct Decorator {
pub name: String,
pub value: Option<String>,
}
pub struct Protocol {
pub name: String,
pub decorators: Vec<Decorator>,
}
2024-09-02 21:50:43 -05:00
pub struct IDLEnum {
pub name: String,
pub accepted_values: Vec<(String, u64)>,
2024-08-30 12:31:45 -05:00
}