pub struct EntityDefinition {
pub odata_context: Option<String>,
pub logical_name: String,
pub schema_name: String,
pub display_name: Option<Value>,
pub entity_set_name: String,
pub is_custom_entity: bool,
pub is_activity: Option<bool>,
pub primary_id_attribute: Option<String>,
pub extra: HashMap<String, Value>,
}Expand description
Dataverse entity definition metadata.
Fields§
§odata_context: Option<String>OData context metadata.
logical_name: StringLogical name of the entity.
schema_name: StringSchema name of the entity.
display_name: Option<Value>Display name payload.
entity_set_name: StringEntity set (collection) name.
is_custom_entity: boolTrue if the entity is custom.
is_activity: Option<bool>True if the entity derives from the Dataverse activity model.
primary_id_attribute: Option<String>Primary ID attribute logical name.
extra: HashMap<String, Value>Additional fields returned by the API.
Trait Implementations§
Source§impl Clone for EntityDefinition
impl Clone for EntityDefinition
Source§fn clone(&self) -> EntityDefinition
fn clone(&self) -> EntityDefinition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EntityDefinition
impl Debug for EntityDefinition
Source§impl<'de> Deserialize<'de> for EntityDefinition
impl<'de> Deserialize<'de> for EntityDefinition
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 EntityDefinition
impl RefUnwindSafe for EntityDefinition
impl Send for EntityDefinition
impl Sync for EntityDefinition
impl Unpin for EntityDefinition
impl UnsafeUnpin for EntityDefinition
impl UnwindSafe for EntityDefinition
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