Struct SetDeviceModeRequest
pub struct SetDeviceModeRequest {
pub device_id: u8,
pub mode: ValuatorMode,
}
Fields§
§device_id: u8
§mode: ValuatorMode
Implementations§
Trait Implementations§
§impl Clone for SetDeviceModeRequest
impl Clone for SetDeviceModeRequest
§fn clone(&self) -> SetDeviceModeRequest
fn clone(&self) -> SetDeviceModeRequest
Returns a copy 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 more§impl Debug for SetDeviceModeRequest
impl Debug for SetDeviceModeRequest
§impl Default for SetDeviceModeRequest
impl Default for SetDeviceModeRequest
§fn default() -> SetDeviceModeRequest
fn default() -> SetDeviceModeRequest
Returns the “default value” for a type. Read more
§impl ReplyRequest for SetDeviceModeRequest
impl ReplyRequest for SetDeviceModeRequest
§type Reply = SetDeviceModeReply
type Reply = SetDeviceModeReply
The kind of reply that this request generates.
§impl Request for SetDeviceModeRequest
impl Request for SetDeviceModeRequest
impl Copy for SetDeviceModeRequest
Auto Trait Implementations§
impl Freeze for SetDeviceModeRequest
impl RefUnwindSafe for SetDeviceModeRequest
impl Send for SetDeviceModeRequest
impl Sync for SetDeviceModeRequest
impl Unpin for SetDeviceModeRequest
impl UnwindSafe for SetDeviceModeRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)