pub struct EntityMetadataDefinitionResponse {
pub data: Value,
pub entity_type: String,
pub provider_type: String,
pub schema: Value,
}Expand description
EntityMetadataDefinitionResponse
JSON schema
{
"type": "object",
"required": [
"data",
"entity_type",
"provider_type",
"schema"
],
"properties": {
"data": {
"description": "Current `entity_metadata` as a JSON object (best-effort decoded from string values)."
},
"entity_type": {
"type": "string"
},
"provider_type": {
"type": "string"
},
"schema": {
"description": "JSON Schema describing `entities.entity_metadata` shape for this provider/entity type."
}
}
}Fields§
§data: ValueCurrent entity_metadata as a JSON object (best-effort decoded from string values).
entity_type: String§provider_type: String§schema: ValueJSON Schema describing entities.entity_metadata shape for this provider/entity type.
Trait Implementations§
Source§impl Clone for EntityMetadataDefinitionResponse
impl Clone for EntityMetadataDefinitionResponse
Source§fn clone(&self) -> EntityMetadataDefinitionResponse
fn clone(&self) -> EntityMetadataDefinitionResponse
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<'de> Deserialize<'de> for EntityMetadataDefinitionResponse
impl<'de> Deserialize<'de> for EntityMetadataDefinitionResponse
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 EntityMetadataDefinitionResponse
impl RefUnwindSafe for EntityMetadataDefinitionResponse
impl Send for EntityMetadataDefinitionResponse
impl Sync for EntityMetadataDefinitionResponse
impl Unpin for EntityMetadataDefinitionResponse
impl UnsafeUnpin for EntityMetadataDefinitionResponse
impl UnwindSafe for EntityMetadataDefinitionResponse
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