pub struct CheckHostParams {
pub domain: String,
pub sender: Option<String>,
pub client_ip: IpAddr,
}
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).
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