pub enum DmarcAlignmentMode {
Relaxed,
Strict,
}Expand description
DMARC alignment mode.
Variants§
Implementations§
Source§impl DmarcAlignmentMode
impl DmarcAlignmentMode
Sourcepub const fn as_tag_value(self) -> &'static str
pub const fn as_tag_value(self) -> &'static str
Returns the DMARC tag label.
Trait Implementations§
Source§impl Clone for DmarcAlignmentMode
impl Clone for DmarcAlignmentMode
Source§fn clone(&self) -> DmarcAlignmentMode
fn clone(&self) -> DmarcAlignmentMode
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 DmarcAlignmentMode
impl Debug for DmarcAlignmentMode
Source§impl Default for DmarcAlignmentMode
impl Default for DmarcAlignmentMode
Source§fn default() -> DmarcAlignmentMode
fn default() -> DmarcAlignmentMode
Returns the “default value” for a type. Read more
Source§impl Display for DmarcAlignmentMode
impl Display for DmarcAlignmentMode
Source§impl Hash for DmarcAlignmentMode
impl Hash for DmarcAlignmentMode
Source§impl Ord for DmarcAlignmentMode
impl Ord for DmarcAlignmentMode
Source§fn cmp(&self, other: &DmarcAlignmentMode) -> Ordering
fn cmp(&self, other: &DmarcAlignmentMode) -> 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 DmarcAlignmentMode
impl PartialEq for DmarcAlignmentMode
Source§fn eq(&self, other: &DmarcAlignmentMode) -> bool
fn eq(&self, other: &DmarcAlignmentMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DmarcAlignmentMode
impl PartialOrd for DmarcAlignmentMode
impl Copy for DmarcAlignmentMode
impl Eq for DmarcAlignmentMode
impl StructuralPartialEq for DmarcAlignmentMode
Auto Trait Implementations§
impl Freeze for DmarcAlignmentMode
impl RefUnwindSafe for DmarcAlignmentMode
impl Send for DmarcAlignmentMode
impl Sync for DmarcAlignmentMode
impl Unpin for DmarcAlignmentMode
impl UnsafeUnpin for DmarcAlignmentMode
impl UnwindSafe for DmarcAlignmentMode
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