Struct xio_hwdb::XioDescription [−][src]
pub struct XioDescription { pub id: String, pub vendor: String, pub product: String, pub uuid: Uuid, pub recognized: bool, pub programmed: bool, pub board: String, pub device: String, pub symlink: String, pub version: String, }
The description of a connected device recognized through USB.
Fields
id: String
Id of the device.
vendor: String
USB vendor string of the device.
product: String
USB product string of the device.
uuid: Uuid
Device uuid.
recognized: bool
Flag indicating if the device is recognized.
programmed: bool
Flag indicating if the device is programmed (a.k.a. flashed).
board: String
Board identifier string.
device: String
Device path.
symlink: String
Named symlink to the device.
version: String
Version string of the firmware running on the device.
Trait Implementations
impl Clone for XioDescription
[src]
impl Clone for XioDescription
fn clone(&self) -> XioDescription
[src]
fn clone(&self) -> XioDescription
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for XioDescription
[src]
impl Debug for XioDescription
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for XioDescription
[src]
impl PartialEq for XioDescription
fn eq(&self, other: &XioDescription) -> bool
[src]
fn eq(&self, other: &XioDescription) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &XioDescription) -> bool
[src]
fn ne(&self, other: &XioDescription) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for XioDescription
impl Send for XioDescription
impl Sync for XioDescription
impl Sync for XioDescription