pub struct DeviceStateChanged {
pub device_state: DeviceState,
}Expand description
Notification that a device state has changed.
Fields§
§device_state: DeviceStateDevice state object
Trait Implementations§
Source§impl Clone for DeviceStateChanged
impl Clone for DeviceStateChanged
Source§fn clone(&self) -> DeviceStateChanged
fn clone(&self) -> DeviceStateChanged
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 DeviceStateChanged
impl Debug for DeviceStateChanged
Source§impl Default for DeviceStateChanged
impl Default for DeviceStateChanged
Source§fn default() -> DeviceStateChanged
fn default() -> DeviceStateChanged
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceStateChanged
impl<'de> Deserialize<'de> for DeviceStateChanged
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
Source§impl PartialEq for DeviceStateChanged
impl PartialEq for DeviceStateChanged
impl StructuralPartialEq for DeviceStateChanged
Auto Trait Implementations§
impl Freeze for DeviceStateChanged
impl RefUnwindSafe for DeviceStateChanged
impl Send for DeviceStateChanged
impl Sync for DeviceStateChanged
impl Unpin for DeviceStateChanged
impl UnwindSafe for DeviceStateChanged
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