pub enum SpfMechanism {
All,
Include(String),
A,
Mx,
Ip4(String),
Ip6(String),
Exists(String),
}Expand description
SPF mechanism metadata.
Variants§
All
all mechanism.
Include(String)
include:<domain> mechanism.
A
a mechanism.
Mx
mx mechanism.
Ip4(String)
ip4:<cidr> mechanism.
Ip6(String)
ip6:<cidr> mechanism.
Exists(String)
exists:<domain> mechanism.
Trait Implementations§
Source§impl Clone for SpfMechanism
impl Clone for SpfMechanism
Source§fn clone(&self) -> SpfMechanism
fn clone(&self) -> SpfMechanism
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 SpfMechanism
impl Debug for SpfMechanism
Source§impl Display for SpfMechanism
impl Display for SpfMechanism
Source§impl FromStr for SpfMechanism
impl FromStr for SpfMechanism
Source§impl Hash for SpfMechanism
impl Hash for SpfMechanism
Source§impl Ord for SpfMechanism
impl Ord for SpfMechanism
Source§fn cmp(&self, other: &SpfMechanism) -> Ordering
fn cmp(&self, other: &SpfMechanism) -> 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 SpfMechanism
impl PartialEq for SpfMechanism
Source§fn eq(&self, other: &SpfMechanism) -> bool
fn eq(&self, other: &SpfMechanism) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SpfMechanism
impl PartialOrd for SpfMechanism
impl Eq for SpfMechanism
impl StructuralPartialEq for SpfMechanism
Auto Trait Implementations§
impl Freeze for SpfMechanism
impl RefUnwindSafe for SpfMechanism
impl Send for SpfMechanism
impl Sync for SpfMechanism
impl Unpin for SpfMechanism
impl UnsafeUnpin for SpfMechanism
impl UnwindSafe for SpfMechanism
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