pub struct SchemaIr {
pub package: String,
pub schema_id: u16,
pub schema_version: u16,
pub types: HashMap<String, ResolvedType>,
pub messages: Vec<ResolvedMessage>,
}Expand description
Intermediate representation of a schema for code generation.
Fields§
§package: StringPackage name.
schema_id: u16Schema ID.
schema_version: u16Schema version.
types: HashMap<String, ResolvedType>Resolved types with their full information.
messages: Vec<ResolvedMessage>Messages with resolved field types.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SchemaIr
impl RefUnwindSafe for SchemaIr
impl Send for SchemaIr
impl Sync for SchemaIr
impl Unpin for SchemaIr
impl UnwindSafe for SchemaIr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more