pub struct SerialDeviceConfig {
pub name: String,
pub port: String,
pub baudrate: u32,
pub vid: u16,
pub pid: u16,
pub reconnection_time: u64,
}Fields§
§name: String§port: String§baudrate: u32§vid: u16§pid: u16§reconnection_time: u64Implementations§
Trait Implementations§
Source§impl Clone for SerialDeviceConfig
impl Clone for SerialDeviceConfig
Source§fn clone(&self) -> SerialDeviceConfig
fn clone(&self) -> SerialDeviceConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SerialDeviceConfig
impl Debug for SerialDeviceConfig
Auto Trait Implementations§
impl Freeze for SerialDeviceConfig
impl RefUnwindSafe for SerialDeviceConfig
impl Send for SerialDeviceConfig
impl Sync for SerialDeviceConfig
impl Unpin for SerialDeviceConfig
impl UnsafeUnpin for SerialDeviceConfig
impl UnwindSafe for SerialDeviceConfig
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