pub struct TcpConnection {
pub id: String,
pub host: String,
pub port: i64,
}Fields§
§id: String§host: String§port: i64Trait Implementations§
Source§impl AverDisplay for TcpConnection
impl AverDisplay for TcpConnection
fn aver_display(&self) -> String
fn aver_display_inner(&self) -> String
Source§impl Clone for TcpConnection
impl Clone for TcpConnection
Source§fn clone(&self) -> TcpConnection
fn clone(&self) -> TcpConnection
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 TcpConnection
impl Debug for TcpConnection
Source§impl Hash for TcpConnection
impl Hash for TcpConnection
Source§impl Ord for TcpConnection
impl Ord for TcpConnection
Source§fn cmp(&self, other: &TcpConnection) -> Ordering
fn cmp(&self, other: &TcpConnection) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TcpConnection
impl PartialEq for TcpConnection
Source§impl PartialOrd for TcpConnection
impl PartialOrd for TcpConnection
impl Eq for TcpConnection
impl StructuralPartialEq for TcpConnection
Auto Trait Implementations§
impl Freeze for TcpConnection
impl RefUnwindSafe for TcpConnection
impl Send for TcpConnection
impl Sync for TcpConnection
impl Unpin for TcpConnection
impl UnsafeUnpin for TcpConnection
impl UnwindSafe for TcpConnection
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