Struct parse_sap_odata::edmx::data_services::schema::entity_container::EntityContainer
source · pub struct EntityContainer {
pub name: String,
pub is_default_entity_container: bool,
pub sap_annotations: SAPAnnotationsEntityContainer,
pub entity_sets: Vec<EntitySet>,
pub association_sets: Vec<AssociationSet>,
pub function_imports: Option<Vec<FunctionImport>>,
}Expand description
Fields§
§name: String§is_default_entity_container: bool§sap_annotations: SAPAnnotationsEntityContainer§entity_sets: Vec<EntitySet>§association_sets: Vec<AssociationSet>§function_imports: Option<Vec<FunctionImport>>Implementations§
source§impl EntityContainer
impl EntityContainer
sourcepub fn to_enum_with_impl(&self) -> Vec<u8>
pub fn to_enum_with_impl(&self) -> Vec<u8>
Transforms an EntityContainer into an enumeration of entity set names.
Additionally, this enumeration is given three helper functions:
pub const fn value(&self) -> &'static str { /* SNIP */ }pub fn iterator() -> impl Iterator<Item = GwsampleBasicEntities> { /* SNIP */ }pub fn as_list() -> Vec<&'static str> { /* SNIP */ }
Trait Implementations§
source§impl Debug for EntityContainer
impl Debug for EntityContainer
source§impl<'de> Deserialize<'de> for EntityContainer
impl<'de> Deserialize<'de> for EntityContainer
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 RefUnwindSafe for EntityContainer
impl Send for EntityContainer
impl Sync for EntityContainer
impl Unpin for EntityContainer
impl UnwindSafe for EntityContainer
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