[][src]Struct check_if_email_exists::syntax::SyntaxDetails

pub struct SyntaxDetails {
    pub address: Option<EmailAddress>,
    pub domain: String,
    pub is_valid_syntax: bool,
    pub username: String,
}

Syntax information after parsing an email address

Fields

address: Option<EmailAddress>

The email address as a async_smtp EmailAddress. It will be None if the email address is ill-formed.

domain: String

The domain name, after "@". It will be the empty string if the email address if ill-formed.

is_valid_syntax: bool

Does the email have a valid syntax?

username: String

The username, before "@". It will be the empty string if the email address if ill-formed.

Trait Implementations

impl Debug for SyntaxDetails[src]

impl Default for SyntaxDetails[src]

impl PartialEq<SyntaxDetails> for SyntaxDetails[src]

impl Serialize for SyntaxDetails[src]

impl StructuralPartialEq for SyntaxDetails[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,