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 Record = RecordType;
#[derive(Debug)]
pub struct RecordType {
    pub contact: Vec<RecordContactType>,
    pub address: Vec<RecordAddressType>,
    pub name: String,
}
#[derive(Debug)]
pub struct RecordContactType {
    pub email: String,
}
#[derive(Debug)]
pub struct RecordAddressType {
    pub street: String,
    pub city: String,
}