Struct xio_hwdb::FtdiDescription
source · pub struct FtdiDescription {
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,
}
Expand description
The description of a connected device recognized by FTDI chip.
Fields§
§id: String
The string identifier stored in the FTDI EEPROM.
vendor: String
The vendor string stored in the FTDI EEPROM.
product: String
The product string stored in the FTDI EEPROM.
uuid: Uuid
The uuid stored in the FTDI EEPROM.
recognized: bool
A flag indicating if the device is recognized.
programmed: bool
A 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.
Trait Implementations§
source§impl Clone for FtdiDescription
impl Clone for FtdiDescription
source§fn clone(&self) -> FtdiDescription
fn clone(&self) -> FtdiDescription
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 FtdiDescription
impl Debug for FtdiDescription
source§impl<'de> Deserialize<'de> for FtdiDescription
impl<'de> Deserialize<'de> for FtdiDescription
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