pub struct IntegrationDeviceMetadataSchemaResponse {
pub provider_type: String,
pub schema: Value,
}Expand description
JSON Schema for devices.device_metadata for an integration’s provider (no device instance required).
JSON schema
{
"description": "JSON Schema for `devices.device_metadata` for an integration's provider (no device instance required).",
"type": "object",
"required": [
"provider_type",
"schema"
],
"properties": {
"provider_type": {
"type": "string"
},
"schema": {
"description": "JSON Schema describing `devices.device_metadata` for this provider."
}
}
}Fields§
§provider_type: String§schema: ValueJSON Schema describing devices.device_metadata for this provider.
Trait Implementations§
Source§impl Clone for IntegrationDeviceMetadataSchemaResponse
impl Clone for IntegrationDeviceMetadataSchemaResponse
Source§fn clone(&self) -> IntegrationDeviceMetadataSchemaResponse
fn clone(&self) -> IntegrationDeviceMetadataSchemaResponse
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 IntegrationDeviceMetadataSchemaResponse
impl<'de> Deserialize<'de> for IntegrationDeviceMetadataSchemaResponse
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 IntegrationDeviceMetadataSchemaResponse
impl RefUnwindSafe for IntegrationDeviceMetadataSchemaResponse
impl Send for IntegrationDeviceMetadataSchemaResponse
impl Sync for IntegrationDeviceMetadataSchemaResponse
impl Unpin for IntegrationDeviceMetadataSchemaResponse
impl UnsafeUnpin for IntegrationDeviceMetadataSchemaResponse
impl UnwindSafe for IntegrationDeviceMetadataSchemaResponse
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