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§
Trait Implementations§
source§impl Debug for CheckHostParams
impl Debug for CheckHostParams
source§impl<'de> Deserialize<'de> for CheckHostParams
impl<'de> Deserialize<'de> for CheckHostParams
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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