pub struct SubDevice {
pub mode: String,
pub id: String,
pub name: String,
pub state: i32,
pub device: bool,
pub device_id: String,
pub data_mode: String,
pub data_type: String,
pub value: f64,
}Expand description
子设备
Fields§
§mode: String§id: String§name: String§state: i32§device: bool§device_id: Stringusb的uuid
data_mode: String数据模式
data_type: String数据类型
value: f64Trait Implementations§
Auto Trait Implementations§
impl Freeze for SubDevice
impl RefUnwindSafe for SubDevice
impl Send for SubDevice
impl Sync for SubDevice
impl Unpin for SubDevice
impl UnwindSafe for SubDevice
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