xml-schema-derive 0.3.0

Structure generator from XSD source file
Documentation
1
2
3
4
5
6
#[derive(Clone, Default, Debug, PartialEq, YaDeserialize)]
#[yaserde(prefix = "xs", namespace = "xs: http://www.w3.org/2001/XMLSchema")]
pub struct Union {
  #[yaserde(rename = "memberTypes", attribute)]
  pub member_types: String,
}