pub enum DmarcPolicy {
None,
Quarantine,
Reject,
}Expand description
DMARC policy label.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for DmarcPolicy
impl Clone for DmarcPolicy
Source§fn clone(&self) -> DmarcPolicy
fn clone(&self) -> DmarcPolicy
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 DmarcPolicy
impl Debug for DmarcPolicy
Source§impl Default for DmarcPolicy
impl Default for DmarcPolicy
Source§fn default() -> DmarcPolicy
fn default() -> DmarcPolicy
Returns the “default value” for a type. Read more
Source§impl Display for DmarcPolicy
impl Display for DmarcPolicy
Source§impl FromStr for DmarcPolicy
impl FromStr for DmarcPolicy
Source§impl Hash for DmarcPolicy
impl Hash for DmarcPolicy
Source§impl Ord for DmarcPolicy
impl Ord for DmarcPolicy
Source§fn cmp(&self, other: &DmarcPolicy) -> Ordering
fn cmp(&self, other: &DmarcPolicy) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DmarcPolicy
impl PartialEq for DmarcPolicy
Source§fn eq(&self, other: &DmarcPolicy) -> bool
fn eq(&self, other: &DmarcPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DmarcPolicy
impl PartialOrd for DmarcPolicy
impl Copy for DmarcPolicy
impl Eq for DmarcPolicy
impl StructuralPartialEq for DmarcPolicy
Auto Trait Implementations§
impl Freeze for DmarcPolicy
impl RefUnwindSafe for DmarcPolicy
impl Send for DmarcPolicy
impl Sync for DmarcPolicy
impl Unpin for DmarcPolicy
impl UnsafeUnpin for DmarcPolicy
impl UnwindSafe for DmarcPolicy
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