pub struct SpfResult<'hdr> {
pub code: SpfResultCode,
pub reason: Option<&'hdr str>,
pub smtp_mailfrom: Option<&'hdr str>,
pub smtp_helo: Option<&'hdr str>,
pub raw: Option<&'hdr str>,
}
Expand description
Parsed SPF Result
Fields§
§code: SpfResultCode
Result
reason: Option<&'hdr str>
Reason if supplied
smtp_mailfrom: Option<&'hdr str>
smtp.mailfrom
smtp_helo: Option<&'hdr str>
smtp.helo
raw: Option<&'hdr str>
Unparsed raw
Trait Implementations§
impl<'hdr> StructuralPartialEq for SpfResult<'hdr>
Auto Trait Implementations§
impl<'hdr> Freeze for SpfResult<'hdr>
impl<'hdr> RefUnwindSafe for SpfResult<'hdr>
impl<'hdr> Send for SpfResult<'hdr>
impl<'hdr> Sync for SpfResult<'hdr>
impl<'hdr> Unpin for SpfResult<'hdr>
impl<'hdr> UnwindSafe for SpfResult<'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