pub struct DeviceSetWakeBody {
pub wake_handle: Option<WakeHandle>,
pub suggested_triggers: Option<Vec<String>>,
}Expand description
device/set-wake/0.1 — convey the device’s WakeHandle.
Fields§
§wake_handle: Option<WakeHandle>§suggested_triggers: Option<Vec<String>>Trait Implementations§
Source§impl Clone for DeviceSetWakeBody
impl Clone for DeviceSetWakeBody
Source§fn clone(&self) -> DeviceSetWakeBody
fn clone(&self) -> DeviceSetWakeBody
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 DeviceSetWakeBody
impl Debug for DeviceSetWakeBody
Source§impl Default for DeviceSetWakeBody
impl Default for DeviceSetWakeBody
Source§fn default() -> DeviceSetWakeBody
fn default() -> DeviceSetWakeBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceSetWakeBody
impl<'de> Deserialize<'de> for DeviceSetWakeBody
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 DeviceSetWakeBody
impl RefUnwindSafe for DeviceSetWakeBody
impl Send for DeviceSetWakeBody
impl Sync for DeviceSetWakeBody
impl Unpin for DeviceSetWakeBody
impl UnsafeUnpin for DeviceSetWakeBody
impl UnwindSafe for DeviceSetWakeBody
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