powerplatform_dataverse_client/dataverse/
entityattribute.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Serialize, Deserialize, Clone)]
4pub struct AttributeTypeName {
5 #[serde(rename = "Value")]
7 pub value: Option<String>,
8}
9
10#[derive(Debug, Serialize, Deserialize, Clone)]
12pub struct EntityAttribute {
13 #[serde(rename = "LogicalName")]
15 pub logical_name: String,
16 #[serde(rename = "SchemaName")]
18 pub schema_name: String,
19 #[serde(rename = "AttributeType")]
21 pub attribute_type: Option<String>,
22 #[serde(rename = "AttributeTypeName")]
24 pub attribute_type_name: Option<AttributeTypeName>,
25 #[serde(rename = "IsCustomAttribute")]
27 pub is_custom_attribute: Option<bool>,
28 #[serde(rename = "IsValidODataAttribute")]
30 pub is_valid_odata_attribute: Option<bool>,
31 #[serde(rename = "IsValidForRead")]
33 pub is_valid_for_read: Option<bool>,
34 #[serde(rename = "IsValidForUpdate")]
36 pub is_valid_for_update: Option<bool>,
37}