pub struct CheckHostParams {
pub from_domain: String,
pub mail_from_domain: Option<String>,
pub client_ip: IpAddr,
pub dkim: Vec<BTreeMap<String, String>>,
}Fields§
§from_domain: StringDomain of the sender in the “From:”
mail_from_domain: Option<String>Domain that provides the sought-after authorization information.
The “MAIL FROM” email address if available.
client_ip: IpAddrIP address of the SMTP client that is emitting the mail (v4 or v6).
dkim: Vec<BTreeMap<String, String>>The results of the DKIM part of the checks
Implementations§
Source§impl CheckHostParams
impl CheckHostParams
pub async fn check(self, resolver: &dyn Resolver) -> DispositionWithContext
Auto Trait Implementations§
impl Freeze for CheckHostParams
impl RefUnwindSafe for CheckHostParams
impl Send for CheckHostParams
impl Sync for CheckHostParams
impl Unpin for CheckHostParams
impl UnwindSafe for CheckHostParams
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