Struct DmarcSubdomainPolicy
pub struct DmarcSubdomainPolicy(/* private fields */);Expand description
DMARC subdomain policy wrapper.
Implementations§
§impl DmarcSubdomainPolicy
impl DmarcSubdomainPolicy
pub const fn new(policy: DmarcPolicy) -> DmarcSubdomainPolicy
pub const fn new(policy: DmarcPolicy) -> DmarcSubdomainPolicy
Creates a subdomain policy.
pub const fn policy(self) -> DmarcPolicy
pub const fn policy(self) -> DmarcPolicy
Returns the policy.
Trait Implementations§
§impl Clone for DmarcSubdomainPolicy
impl Clone for DmarcSubdomainPolicy
§fn clone(&self) -> DmarcSubdomainPolicy
fn clone(&self) -> DmarcSubdomainPolicy
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 more§impl Debug for DmarcSubdomainPolicy
impl Debug for DmarcSubdomainPolicy
§impl Display for DmarcSubdomainPolicy
impl Display for DmarcSubdomainPolicy
§impl Hash for DmarcSubdomainPolicy
impl Hash for DmarcSubdomainPolicy
§impl Ord for DmarcSubdomainPolicy
impl Ord for DmarcSubdomainPolicy
§fn cmp(&self, other: &DmarcSubdomainPolicy) -> Ordering
fn cmp(&self, other: &DmarcSubdomainPolicy) -> Ordering
1.21.0 · 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
§impl PartialEq for DmarcSubdomainPolicy
impl PartialEq for DmarcSubdomainPolicy
§impl PartialOrd for DmarcSubdomainPolicy
impl PartialOrd for DmarcSubdomainPolicy
impl Copy for DmarcSubdomainPolicy
impl Eq for DmarcSubdomainPolicy
impl StructuralPartialEq for DmarcSubdomainPolicy
Auto Trait Implementations§
impl Freeze for DmarcSubdomainPolicy
impl RefUnwindSafe for DmarcSubdomainPolicy
impl Send for DmarcSubdomainPolicy
impl Sync for DmarcSubdomainPolicy
impl Unpin for DmarcSubdomainPolicy
impl UnsafeUnpin for DmarcSubdomainPolicy
impl UnwindSafe for DmarcSubdomainPolicy
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