pub enum EmailSource {
MailtoLink,
Text,
StructuredData,
MetaTag,
}Expand description
Source of email extraction
Variants§
MailtoLink
From mailto: link
Text
From page text
StructuredData
From structured data
MetaTag
From meta tag
Trait Implementations§
Source§impl Clone for EmailSource
impl Clone for EmailSource
Source§fn clone(&self) -> EmailSource
fn clone(&self) -> EmailSource
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 EmailSource
impl Debug for EmailSource
Source§impl Default for EmailSource
impl Default for EmailSource
Source§fn default() -> EmailSource
fn default() -> EmailSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EmailSource
impl<'de> Deserialize<'de> for EmailSource
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 EmailSource
impl PartialEq for EmailSource
Source§impl Serialize for EmailSource
impl Serialize for EmailSource
impl Copy for EmailSource
impl Eq for EmailSource
impl StructuralPartialEq for EmailSource
Auto Trait Implementations§
impl Freeze for EmailSource
impl RefUnwindSafe for EmailSource
impl Send for EmailSource
impl Sync for EmailSource
impl Unpin for EmailSource
impl UnwindSafe for EmailSource
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