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
pub type Foo = FooType;
#[derive(Debug)]
pub enum FooType {
    Content2(FooContent2Type),
    Content3(FooContent3Type),
}
#[derive(Debug)]
pub struct FooContent2Type {
    pub element_1: i32,
    pub element_2: String,
}
#[derive(Debug)]
pub struct FooContent3Type {
    pub element_3: i32,
    pub element_4: String,
}