Struct samotop::model::mail::AcceptRecipientRequest
source · pub struct AcceptRecipientRequest {
pub name: String,
pub local: Option<SocketAddr>,
pub peer: Option<SocketAddr>,
pub helo: Option<SmtpHelo>,
pub mail: Option<SmtpMail>,
pub id: String,
pub rcpt: SmtpPath,
}
Expand description
Request to check if mail is accepted for given recipient
Fields
name: String
Service name
local: Option<SocketAddr>
Local server endpoint
peer: Option<SocketAddr>
Remote peer endpoint
helo: Option<SmtpHelo>
The SMTP helo sent by peer
mail: Option<SmtpMail>
The SMTP mail from:path sent by peer
id: String
unique mail request identifier
rcpt: SmtpPath
The SMTP rcpt to:path sent by peer we want to check
Trait Implementations
sourceimpl Clone for AcceptRecipientRequest
impl Clone for AcceptRecipientRequest
sourcefn clone(&self) -> AcceptRecipientRequest
fn clone(&self) -> AcceptRecipientRequest
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 moreAuto Trait Implementations
impl RefUnwindSafe for AcceptRecipientRequest
impl Send for AcceptRecipientRequest
impl Sync for AcceptRecipientRequest
impl Unpin for AcceptRecipientRequest
impl UnwindSafe for AcceptRecipientRequest
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