Struct samotop::model::command::SmtpConnection
source · pub struct SmtpConnection {
pub local_name: String,
pub local_addr: Option<SocketAddr>,
pub peer_addr: Option<SocketAddr>,
}
Fields
local_name: String
local_addr: Option<SocketAddr>
peer_addr: Option<SocketAddr>
Trait Implementations
sourceimpl Clone for SmtpConnection
impl Clone for SmtpConnection
sourcefn clone(&self) -> SmtpConnection
fn clone(&self) -> SmtpConnection
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SmtpConnection
impl Debug for SmtpConnection
sourceimpl PartialEq<SmtpConnection> for SmtpConnection
impl PartialEq<SmtpConnection> for SmtpConnection
sourcefn eq(&self, other: &SmtpConnection) -> bool
fn eq(&self, other: &SmtpConnection) -> bool
impl Eq for SmtpConnection
impl StructuralEq for SmtpConnection
impl StructuralPartialEq for SmtpConnection
Auto Trait Implementations
impl RefUnwindSafe for SmtpConnection
impl Send for SmtpConnection
impl Sync for SmtpConnection
impl Unpin for SmtpConnection
impl UnwindSafe for SmtpConnection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more