pub struct StateAndNotificationPayload {
pub devices: Option<ReportStateAndNotificationDevice>,
}Expand description
Payload containing the state and notification information for devices.
This type is not used in any activity, and only used as part of another schema.
Fields§
§devices: Option<ReportStateAndNotificationDevice>The devices for updating state and sending notifications.
Trait Implementations§
Source§impl Clone for StateAndNotificationPayload
impl Clone for StateAndNotificationPayload
Source§fn clone(&self) -> StateAndNotificationPayload
fn clone(&self) -> StateAndNotificationPayload
Returns a duplicate of the value. Read more
1.0.0 · 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 StateAndNotificationPayload
impl Debug for StateAndNotificationPayload
Source§impl Default for StateAndNotificationPayload
impl Default for StateAndNotificationPayload
Source§fn default() -> StateAndNotificationPayload
fn default() -> StateAndNotificationPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StateAndNotificationPayload
impl<'de> Deserialize<'de> for StateAndNotificationPayload
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 StateAndNotificationPayload
Auto Trait Implementations§
impl Freeze for StateAndNotificationPayload
impl RefUnwindSafe for StateAndNotificationPayload
impl Send for StateAndNotificationPayload
impl Sync for StateAndNotificationPayload
impl Unpin for StateAndNotificationPayload
impl UnwindSafe for StateAndNotificationPayload
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