pub enum EmailPolicyEntry {
Email(String),
Domain(String),
}Expand description
Normalized policy entry classified as either an exact email or an exact domain.
Variants§
Trait Implementations§
Source§impl Clone for EmailPolicyEntry
impl Clone for EmailPolicyEntry
Source§fn clone(&self) -> EmailPolicyEntry
fn clone(&self) -> EmailPolicyEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EmailPolicyEntry
impl Debug for EmailPolicyEntry
Source§impl PartialEq for EmailPolicyEntry
impl PartialEq for EmailPolicyEntry
Source§fn eq(&self, other: &EmailPolicyEntry) -> bool
fn eq(&self, other: &EmailPolicyEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for EmailPolicyEntry
impl StructuralPartialEq for EmailPolicyEntry
Auto Trait Implementations§
impl Freeze for EmailPolicyEntry
impl RefUnwindSafe for EmailPolicyEntry
impl Send for EmailPolicyEntry
impl Sync for EmailPolicyEntry
impl Unpin for EmailPolicyEntry
impl UnsafeUnpin for EmailPolicyEntry
impl UnwindSafe for EmailPolicyEntry
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