pub struct SetDeviceId {
pub source: DeviceIdSource,
pub vendor: u16,
pub product: u16,
pub version: u16,
}
Expand description
Set Device ID Command
Fields§
§source: DeviceIdSource
§vendor: u16
§product: u16
§version: u16
Trait Implementations§
Source§impl CommandRequest for SetDeviceId
impl CommandRequest for SetDeviceId
Source§const CODE: CommandCode = CommandCode::SetDeviceId
const CODE: CommandCode = CommandCode::SetDeviceId
Command code.
Source§type Reply = SetDeviceIdReply
type Reply = SetDeviceIdReply
Return type for this command.
Source§impl Debug for SetDeviceId
impl Debug for SetDeviceId
Source§impl From<SetDeviceId> for Command
impl From<SetDeviceId> for Command
Source§fn from(v: SetDeviceId) -> Self
fn from(v: SetDeviceId) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SetDeviceId
impl RefUnwindSafe for SetDeviceId
impl Send for SetDeviceId
impl Sync for SetDeviceId
impl Unpin for SetDeviceId
impl UnwindSafe for SetDeviceId
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