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
pub type Foo = FooType;
#[derive(Debug)]
pub struct FooType {
    pub value: Option<String>,
    pub another_value: Option<String>,
    pub content: EnumType,
}
#[derive(Debug)]
pub enum EnumType {
    Off,
    On,
    Auto,
}