pub struct UsbSerialPortInfo {
pub identifier: String,
pub port_name: String,
pub port_info: UsbPortInfo,
}Expand description
Information about a serial port
Fields§
§identifier: StringThe identifier that the regex will match against
port_name: StringThe name of the port
port_info: UsbPortInfoInformation about the port
Trait Implementations§
Source§impl Clone for UsbSerialPortInfo
impl Clone for UsbSerialPortInfo
Source§fn clone(&self) -> UsbSerialPortInfo
fn clone(&self) -> UsbSerialPortInfo
Returns a duplicate 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 UsbSerialPortInfo
impl Debug for UsbSerialPortInfo
Source§impl PartialEq for UsbSerialPortInfo
impl PartialEq for UsbSerialPortInfo
Source§impl Serialize for UsbSerialPortInfo
impl Serialize for UsbSerialPortInfo
impl Eq for UsbSerialPortInfo
impl StructuralPartialEq for UsbSerialPortInfo
Auto Trait Implementations§
impl Freeze for UsbSerialPortInfo
impl RefUnwindSafe for UsbSerialPortInfo
impl Send for UsbSerialPortInfo
impl Sync for UsbSerialPortInfo
impl Unpin for UsbSerialPortInfo
impl UnwindSafe for UsbSerialPortInfo
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