#![warn(missing_docs)]
#![warn(rustdoc::broken_intra_doc_links)]
#![allow(non_local_definitions)]
pub mod header;
pub use header::*;
pub mod general_definitions;
pub mod product_definitions;
pub mod meta_information;
use serde::{Deserialize, Serialize};
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, Serialize, Deserialize)]
#[serde(rename = "Root")]
pub struct GldfProduct {
#[serde(skip)]
pub path: String,
#[serde(rename = "@xmlns:xsi", default = "get_xmlns_xsi")]
pub xmlns_xsi: String,
#[serde(rename = "@xsi:noNamespaceSchemaLocation", default = "get_xsnonamespaceschemalocation")]
pub xsnonamespaceschemalocation: String,
#[serde(rename = "Header")]
pub header: Header,
#[serde(rename = "GeneralDefinitions")]
pub general_definitions: GeneralDefinitions,
#[serde(rename = "ProductDefinitions")]
pub product_definitions: ProductDefinitions,
}