Struct xio_hwdb::XioDescription
source · 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,
}
Expand description
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§
source§impl Clone for XioDescription
impl Clone for XioDescription
source§fn clone(&self) -> XioDescription
fn clone(&self) -> XioDescription
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 XioDescription
impl Debug for XioDescription
source§impl<'de> Deserialize<'de> for XioDescription
impl<'de> Deserialize<'de> for XioDescription
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more