#[repr(C)]pub struct dfuDeviceInfo {
pub usbIndex: [c_char; 10],
pub busNumber: c_int,
pub addressNumber: c_int,
pub productId: [c_char; 100],
pub serialNumber: [c_char; 100],
pub dfuVersion: c_uint,
}
Expand description
\struct dfuDeviceInfo \brief Get DFU device informations .
Fields§
§usbIndex: [c_char; 10]
< USB index.
busNumber: c_int
< Bus number.
addressNumber: c_int
< Address number.
productId: [c_char; 100]
< Product number.
serialNumber: [c_char; 100]
< Serial number.
dfuVersion: c_uint
< DFU version.
Trait Implementations§
Source§impl Clone for dfuDeviceInfo
impl Clone for dfuDeviceInfo
Source§fn clone(&self) -> dfuDeviceInfo
fn clone(&self) -> dfuDeviceInfo
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 dfuDeviceInfo
impl Debug for dfuDeviceInfo
impl Copy for dfuDeviceInfo
Auto Trait Implementations§
impl Freeze for dfuDeviceInfo
impl RefUnwindSafe for dfuDeviceInfo
impl Send for dfuDeviceInfo
impl Sync for dfuDeviceInfo
impl Unpin for dfuDeviceInfo
impl UnwindSafe for dfuDeviceInfo
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