Skip to main content

schema_to_rust

Function schema_to_rust 

Source
pub fn schema_to_rust(
    module: &Module,
    root_name: &str,
) -> Result<String, String>
Expand description

The schema tree as Rust serde types: structs with rename tags, real enums for Enum, Option for defaulted/Null fields.