pub struct Spf {
pub version: Version,
pub directives: Vec<Directive>,
pub exp: Option<Macro>,
pub redirect: Option<Macro>,
pub ra: Option<Vec<u8>>,
pub rp: u8,
pub rr: u8,
}
Fields§
§version: Version
§directives: Vec<Directive>
§exp: Option<Macro>
§redirect: Option<Macro>
§ra: Option<Vec<u8>>
§rp: u8
§rr: u8
Trait Implementations§
Source§impl UnwrapTxtRecord for Spf
impl UnwrapTxtRecord for Spf
impl Eq for Spf
impl StructuralPartialEq for Spf
Auto Trait Implementations§
impl Freeze for Spf
impl RefUnwindSafe for Spf
impl Send for Spf
impl Sync for Spf
impl Unpin for Spf
impl UnwindSafe for Spf
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.