pub struct QueryResponsePayload {
pub devices: Option<HashMap<String, HashMap<String, Value>>>,
}Expand description
Payload containing device states information.
This type is not used in any activity, and only used as part of another schema.
Fields§
§devices: Option<HashMap<String, HashMap<String, Value>>>States of the devices. Map of third-party device ID to struct of device states.
Trait Implementations§
Source§impl Clone for QueryResponsePayload
impl Clone for QueryResponsePayload
Source§fn clone(&self) -> QueryResponsePayload
fn clone(&self) -> QueryResponsePayload
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 QueryResponsePayload
impl Debug for QueryResponsePayload
Source§impl Default for QueryResponsePayload
impl Default for QueryResponsePayload
Source§fn default() -> QueryResponsePayload
fn default() -> QueryResponsePayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QueryResponsePayload
impl<'de> Deserialize<'de> for QueryResponsePayload
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
impl Part for QueryResponsePayload
Auto Trait Implementations§
impl Freeze for QueryResponsePayload
impl RefUnwindSafe for QueryResponsePayload
impl Send for QueryResponsePayload
impl Sync for QueryResponsePayload
impl Unpin for QueryResponsePayload
impl UnsafeUnpin for QueryResponsePayload
impl UnwindSafe for QueryResponsePayload
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