pub enum AlignmentMode {
Relaxed,
Strict,
}Expand description
DKIM / SPF alignment mode (AlignmentType).
Variants§
Relaxed
Relaxed alignment (default). Organisational domain match is sufficient.
Strict
Strict alignment. Exact domain match is required.
Trait Implementations§
Source§impl Clone for AlignmentMode
impl Clone for AlignmentMode
Source§fn clone(&self) -> AlignmentMode
fn clone(&self) -> AlignmentMode
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 AlignmentMode
impl Debug for AlignmentMode
Source§impl<'de> Deserialize<'de> for AlignmentMode
impl<'de> Deserialize<'de> for AlignmentMode
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 Display for AlignmentMode
impl Display for AlignmentMode
Source§impl Hash for AlignmentMode
impl Hash for AlignmentMode
Source§impl PartialEq for AlignmentMode
impl PartialEq for AlignmentMode
impl Copy for AlignmentMode
impl Eq for AlignmentMode
impl StructuralPartialEq for AlignmentMode
Auto Trait Implementations§
impl Freeze for AlignmentMode
impl RefUnwindSafe for AlignmentMode
impl Send for AlignmentMode
impl Sync for AlignmentMode
impl Unpin for AlignmentMode
impl UnsafeUnpin for AlignmentMode
impl UnwindSafe for AlignmentMode
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