xsd-parser 1.5.2

Rust code generator for XML schema files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use xsd_parser_types::xml::Nillable;
pub type Foo = FooType;
#[derive(Debug)]
pub struct FooType {
    pub a: i32,
    pub b: Nillable<i32>,
    pub c: Option<i32>,
    pub d: Option<Nillable<i32>>,
}
pub type NillableFoo = Nillable<FooType>;
pub type Bar = BarType;
#[derive(Debug)]
pub struct BarType {
    pub x: i32,
    pub y: i32,
}