[−][src]Struct check_if_email_exists::CheckEmailInput
Builder pattern for the input argument into the main email_exists
function.
Fields
to_emails: Vec<String>
The email to validate.
from_email: String
Email to use in the MAIL FROM:
SMTP command.
Defaults to "user@example.org".
hello_name: String
Name to use in the EHLO:
SMTP command.
Defaults to "localhost" (note: "localhost" is not a FQDN).
proxy: Option<CheckEmailInputProxy>
Perform the email verification via a specified proxy. The usage of a proxy is optional.
Implementations
impl CheckEmailInput
[src]
pub fn new(to_emails: Vec<String>) -> CheckEmailInput
[src]
Create a new CheckEmailInput.
pub fn from_email(&mut self, email: String) -> &mut CheckEmailInput
[src]
Set the email to use in the MAIL FROM:
SMTP command.
pub fn hello_name(&mut self, name: String) -> &mut CheckEmailInput
[src]
Set the name to use in the EHLO:
SMTP command.
pub fn proxy(
&mut self,
proxy_host: String,
proxy_port: u16
) -> &mut CheckEmailInput
[src]
&mut self,
proxy_host: String,
proxy_port: u16
) -> &mut CheckEmailInput
Use the specified proxy to perform email verification.
Trait Implementations
impl Clone for CheckEmailInput
[src]
fn clone(&self) -> CheckEmailInput
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CheckEmailInput
[src]
Auto Trait Implementations
impl RefUnwindSafe for CheckEmailInput
impl Send for CheckEmailInput
impl Sync for CheckEmailInput
impl Unpin for CheckEmailInput
impl UnwindSafe for CheckEmailInput
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,