pub struct DeviceInfo {
pub mcu_version: String,
pub fpga_version: String,
pub hw_version: HwVersion,
pub serial: String,
pub fpga_voltage: u16,
}Expand description
Device information structure
Fields§
§mcu_version: String§fpga_version: String§hw_version: HwVersion§serial: String§fpga_voltage: u16Trait Implementations§
Source§impl Clone for DeviceInfo
impl Clone for DeviceInfo
Auto Trait Implementations§
impl Freeze for DeviceInfo
impl RefUnwindSafe for DeviceInfo
impl Send for DeviceInfo
impl Sync for DeviceInfo
impl Unpin for DeviceInfo
impl UnsafeUnpin for DeviceInfo
impl UnwindSafe for DeviceInfo
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