pub struct EmailVerificationArray {
pub address: String,
pub account: String,
pub domain: String,
pub status: VerificationStatus,
pub connected: Option<Value>,
pub disposable: bool,
pub role_address: bool,
pub error_code: Option<VerificationError>,
pub error: Option<String>,
}Expand description
The email element of a verification response
Fields§
§address: StringThe full (original) IETF RFC 532 compliant email address
account: StringThe “account” portion of the verified email address
domain: StringThe “domain” portion of the verified email address
status: VerificationStatusThe validity “status” of the supplied email address [ref]
connected: Option<Value>The BriteVerify API docs don’t provide
any insight as to what the actual type
of connected might be other than to
notate that the “usual” value is null,
which briteverify-rs interprets as
“whatever it its, it’s nullable”.
disposable: boolBoolean flag indicating the whether or not the verified email address should be regarded as effectively ephemeral
role_address: boolBoolean flag indicating the whether or not the verified email address belongs to a “role” within an organization instead of belonging directly to a specific human
error_code: Option<VerificationError>The “formal” code representing any error(s) encountered by the BriteVerify API while verifying the email address [ref]
error: Option<String>The human-readable form of the response’s associated “formal” error code
Trait Implementations§
Source§impl Debug for EmailVerificationArray
impl Debug for EmailVerificationArray
Source§impl<'de> Deserialize<'de> for EmailVerificationArray
impl<'de> Deserialize<'de> for EmailVerificationArray
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>,
Auto Trait Implementations§
impl Freeze for EmailVerificationArray
impl RefUnwindSafe for EmailVerificationArray
impl Send for EmailVerificationArray
impl Sync for EmailVerificationArray
impl Unpin for EmailVerificationArray
impl UnwindSafe for EmailVerificationArray
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more