pub struct Edmx {
pub version: EdmxVersion,
pub namespace_edmx: String,
pub namespace_m: String,
pub namespace_sap: String,
pub references: Option<Vec<Reference>>,
pub data_services: DataServices,
}
Expand description
Represents the top-level Entity Data Model, or <edmx:Edmx>
tag in an OData metadata document
§Child Nodes
0:n edmx:Reference
1:1 edmx:DataServices
WARNING:quick-xml
strips the namespace from XML tag names, but not attribute names!
Consequently, tag names such as <edmx:DataServices>
and <atom:link>
will appear simply as <DataServices>
and
<link>
etc, but attribute names such as sap:schema-version
will appear without modification
Fields§
§version: EdmxVersion
§namespace_edmx: String
§namespace_m: String
§namespace_sap: String
§references: Option<Vec<Reference>>
§data_services: DataServices
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Edmx
impl<'de> Deserialize<'de> for Edmx
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Edmx
impl RefUnwindSafe for Edmx
impl Send for Edmx
impl Sync for Edmx
impl Unpin for Edmx
impl UnwindSafe for Edmx
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more