pub struct SmtpAuthResult<'hdr> {
pub code: SmtpAuthResultCode,
pub smtp_auth: Option<&'hdr str>,
pub smtp_mailfrom: Option<&'hdr str>,
pub raw: Option<&'hdr str>,
}
Expand description
Parsed auth (per RFC)
Fields§
§code: SmtpAuthResultCode
Result
smtp_auth: Option<&'hdr str>
smtp.auth
smtp_mailfrom: Option<&'hdr str>
smtp.mailfrom
raw: Option<&'hdr str>
Unparsed raw
Trait Implementations§
Source§impl<'hdr> Clone for SmtpAuthResult<'hdr>
impl<'hdr> Clone for SmtpAuthResult<'hdr>
Source§fn clone(&self) -> SmtpAuthResult<'hdr>
fn clone(&self) -> SmtpAuthResult<'hdr>
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<'hdr> Debug for SmtpAuthResult<'hdr>
impl<'hdr> Debug for SmtpAuthResult<'hdr>
Source§impl<'hdr> Default for SmtpAuthResult<'hdr>
impl<'hdr> Default for SmtpAuthResult<'hdr>
Source§fn default() -> SmtpAuthResult<'hdr>
fn default() -> SmtpAuthResult<'hdr>
Returns the “default value” for a type. Read more
Source§impl<'hdr> PartialEq for SmtpAuthResult<'hdr>
impl<'hdr> PartialEq for SmtpAuthResult<'hdr>
impl<'hdr> StructuralPartialEq for SmtpAuthResult<'hdr>
Auto Trait Implementations§
impl<'hdr> Freeze for SmtpAuthResult<'hdr>
impl<'hdr> RefUnwindSafe for SmtpAuthResult<'hdr>
impl<'hdr> Send for SmtpAuthResult<'hdr>
impl<'hdr> Sync for SmtpAuthResult<'hdr>
impl<'hdr> Unpin for SmtpAuthResult<'hdr>
impl<'hdr> UnwindSafe for SmtpAuthResult<'hdr>
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