pub struct Device {
pub id: String,
pub vid: String,
pub pid: String,
pub types: Types,
pub manufacturer: String,
pub name: String,
pub count: u8,
pub value: JsonValue,
}Expand description
蓝牙HID设备
Fields§
§id: String设备唯一id
vid: String§pid: String§types: Types§manufacturer: String制造商
name: String设备名称
count: u8计数
value: JsonValue值
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Device
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
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