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 struct FooType {
    pub content_2: FooContent2Type,
    pub content_3: FooContent3Type,
}
#[derive(Debug)]
pub enum FooContent2Type {
    Element1(i32),
    Element2(String),
}
#[derive(Debug)]
pub enum FooContent3Type {
    Element3(i32),
    Element4(String),
}