pub struct SetDeviceMode {
pub device_id: u8,
pub mode: ValuatorMode,
}Expand description
The SetDeviceMode request.
This request replies SetDeviceModeReply.
Associated cookie types are SetDeviceModeCookie and SetDeviceModeCookieUnchecked.
Fields§
§device_id: u8§mode: ValuatorModeTrait Implementations§
Source§impl Clone for SetDeviceMode
impl Clone for SetDeviceMode
Source§fn clone(&self) -> SetDeviceMode
fn clone(&self) -> SetDeviceMode
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 moreSource§impl Debug for SetDeviceMode
impl Debug for SetDeviceMode
Source§impl RawRequest for SetDeviceMode
impl RawRequest for SetDeviceMode
Source§fn raw_request(&self, c: &Connection, checked: bool) -> u64
fn raw_request(&self, c: &Connection, checked: bool) -> u64
Actual implementation of the request sending Read more
Source§impl Request for SetDeviceMode
impl Request for SetDeviceMode
Source§impl RequestWithReply for SetDeviceMode
impl RequestWithReply for SetDeviceMode
Source§type Reply = SetDeviceModeReply
type Reply = SetDeviceModeReply
Reply associated with the request
Source§type Cookie = SetDeviceModeCookie
type Cookie = SetDeviceModeCookie
Default cookie type for the request, as returned by Connection::send_request.
Source§type CookieUnchecked = SetDeviceModeCookieUnchecked
type CookieUnchecked = SetDeviceModeCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations§
impl Freeze for SetDeviceMode
impl RefUnwindSafe for SetDeviceMode
impl Send for SetDeviceMode
impl Sync for SetDeviceMode
impl Unpin for SetDeviceMode
impl UnwindSafe for SetDeviceMode
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