Struct mio_serial::SerialPortInfo
source · pub struct SerialPortInfo {
pub port_name: String,
pub port_type: SerialPortType,
}
Expand description
A device-independent implementation of serial port information.
Fields§
§port_name: String
The short name of the serial port
port_type: SerialPortType
The hardware device type that exposes this port
Trait Implementations§
source§impl Clone for SerialPortInfo
impl Clone for SerialPortInfo
source§fn clone(&self) -> SerialPortInfo
fn clone(&self) -> SerialPortInfo
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 more