pub struct IgnoredIdentity { /* private fields */ }Expand description
One syntactically parsed received identity that RFC 5876 §4.5 says not to use or forward.
Implementations§
Source§impl IgnoredIdentity
impl IgnoredIdentity
Sourcepub fn index(&self) -> usize
pub fn index(&self) -> usize
Zero-based position in the combined field, across comma-joined values and repeated rows.
Sourcepub fn address(&self) -> &Address
pub fn address(&self) -> &Address
The parsed value. An unexpected scheme remains available for diagnostics and policy logs.
Sourcepub fn reason(&self) -> IgnoredIdentityReason
pub fn reason(&self) -> IgnoredIdentityReason
The RFC 5876 filtering rule that matched this value.
Trait Implementations§
Source§impl Clone for IgnoredIdentity
impl Clone for IgnoredIdentity
Source§fn clone(&self) -> IgnoredIdentity
fn clone(&self) -> IgnoredIdentity
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 moreAuto Trait Implementations§
impl !Freeze for IgnoredIdentity
impl RefUnwindSafe for IgnoredIdentity
impl Send for IgnoredIdentity
impl Sync for IgnoredIdentity
impl Unpin for IgnoredIdentity
impl UnsafeUnpin for IgnoredIdentity
impl UnwindSafe for IgnoredIdentity
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