xml-schema-derive 0.3.0

Structure generator from XSD source file
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[derive(Clone, Default, Debug, PartialEq, YaDeserialize)]
#[yaserde(
  root="schema"
  prefix="xs",
  namespace="xs: http://www.w3.org/2001/XMLSchema",
)]
pub struct Import {
  #[yaserde(attribute)]
  pub id: Option<String>,
  #[yaserde(attribute)]
  pub namespace: Option<String>,
  #[yaserde(rename = "schemaLocation", attribute)]
  pub schema_location: Option<String>,
}