#![warn(missing_docs)]
#![warn(rustdoc::broken_intra_doc_links)]
pub mod header;
pub use header::*;
mod general_definitions;
mod product_definitions;
use serde::{Serialize};
use serde::Deserialize;
use yaserde_derive::YaDeserialize;
use yaserde_derive::YaSerialize;
pub use general_definitions::*;
pub use product_definitions::*;
fn get_xsnonamespaceschemalocation() -> String {
"https://gldf.io/xsd/gldf/1.0.0-rc.1/gldf.xsd".to_string()
}
fn get_xmlns_xsi() -> String {
"http://www.w3.org/2001/XMLSchema-instance".to_string()
}
#[derive(Default, Debug, Clone, PartialEq, YaDeserialize, YaSerialize, Serialize, Deserialize)]
#[yaserde(
rename = "Root",
root = "Root",
namespace = "xsi: http://www.w3.org/2001/XMLSchema-instance",
namespace = "xsi:noNamespaceSchemaLocation: https://gldf.io/xsd/gldf/1.0.0-rc.1/gldf.xsd",
xsi: noNamespaceSchemaLocation = "https://gldf.io/xsd/gldf/1.0.0-rc.1/gldf.xsd"
)]
pub struct GldfProduct {
#[serde(skip_serializing, skip_deserializing)]
#[yaserde(skip_serializing, skip_deserializing)]
pub path: String,
#[yaserde(attribute, rename = "xmlns:xsi", default = "get_xmlns_xsi", skip_deserializing)]
#[serde(rename = "@xmlns:xsi")]
pub xmlns_xsi: String,
#[serde(rename = "@xsi:noNamespaceSchemaLocation")]
#[yaserde(
attribute,
rename = "xsi:noNamespaceSchemaLocation",
default = "get_xsnonamespaceschemalocation",
prefix = xsi,
text
)]
pub xsnonamespaceschemalocation: String,
#[yaserde(rename = "Header")]
#[serde(rename = "Header")]
pub header: Header,
#[yaserde(child)]
#[yaserde(rename = "GeneralDefinitions")]
#[serde(rename = "GeneralDefinitions")]
pub general_definitions: GeneralDefinitions,
#[yaserde(child)]
#[yaserde(rename = "ProductDefinitions")]
#[serde(rename = "ProductDefinitions")]
pub product_definitions: ProductDefinitions,
}