pub struct EmailStatus {
pub email: String,
pub domain: String,
pub is_threat: bool,
pub threat_type: Option<ThreatType>,
pub from_cache: bool,
}Expand description
Email detection status
Fields§
§email: StringEmail address
domain: StringDomain
is_threat: boolWhether it’s a temporary email or malicious domain
threat_type: Option<ThreatType>Threat type (if exists)
from_cache: boolWhether from cache
Trait Implementations§
Source§impl Clone for EmailStatus
impl Clone for EmailStatus
Source§fn clone(&self) -> EmailStatus
fn clone(&self) -> EmailStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EmailStatus
impl Debug for EmailStatus
Source§impl<'de> Deserialize<'de> for EmailStatus
impl<'de> Deserialize<'de> for EmailStatus
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
Source§impl PartialEq for EmailStatus
impl PartialEq for EmailStatus
Source§impl Serialize for EmailStatus
impl Serialize for EmailStatus
impl Eq for EmailStatus
impl StructuralPartialEq for EmailStatus
Auto Trait Implementations§
impl Freeze for EmailStatus
impl RefUnwindSafe for EmailStatus
impl Send for EmailStatus
impl Sync for EmailStatus
impl Unpin for EmailStatus
impl UnwindSafe for EmailStatus
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