pub struct TcpDeviceConfig {
pub name: String,
pub ip: String,
pub port: u16,
pub reconnection_time: u64,
}Fields§
§name: String§ip: String§port: u16§reconnection_time: u64Implementations§
Trait Implementations§
Source§impl Clone for TcpDeviceConfig
impl Clone for TcpDeviceConfig
Source§fn clone(&self) -> TcpDeviceConfig
fn clone(&self) -> TcpDeviceConfig
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 TcpDeviceConfig
impl Debug for TcpDeviceConfig
Auto Trait Implementations§
impl Freeze for TcpDeviceConfig
impl RefUnwindSafe for TcpDeviceConfig
impl Send for TcpDeviceConfig
impl Sync for TcpDeviceConfig
impl Unpin for TcpDeviceConfig
impl UnsafeUnpin for TcpDeviceConfig
impl UnwindSafe for TcpDeviceConfig
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