parse_sap_odata/edmx/data_services/schema/association/end/
mod.rs

1#[cfg(feature = "parser")]
2pub mod metadata;
3
4use serde::{Deserialize, Serialize};
5
6// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
7/// Represents an `<End>` tag
8#[derive(Clone, Debug, Serialize, Deserialize, Ord, Eq, PartialOrd, PartialEq)]
9#[serde(rename_all = "PascalCase")]
10pub struct End {
11    #[serde(rename = "@Role")]
12    pub role: String,
13    #[serde(rename = "@EntitySet")]
14    pub entity_set: Option<String>,
15    #[serde(rename = "@Type")]
16    pub end_type: Option<String>,
17    #[serde(rename = "@Multiplicity")]
18    pub multiplicity: Option<String>,
19}
20
21// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
22#[cfg(feature = "parser")]
23#[cfg(test)]
24pub mod unit_tests;