pub struct CheckHostParams {
pub domain: String,
pub sender: Option<String>,
pub client_ip: IpAddr,
pub ehlo_domain: Option<String>,
pub relaying_host_name: Option<String>,
}
Fields§
§domain: String
Domain that provides the sought-after authorization information.
Initially, the domain portion of the “MAIL FROM” or “HELO” identity.
sender: Option<String>
The “MAIL FROM” email address if available.
client_ip: IpAddr
IP address of the SMTP client that is emitting the mail (v4 or v6).
ehlo_domain: Option<String>
Explicitly the domain name passed to HELO/EHLO,
regardless of the domain
value.
relaying_host_name: Option<String>
The host name of this host, the one doing the check
Implementations§
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