Struct simple_dns::rdata::NAPTR
source · pub struct NAPTR<'a> {
pub order: u16,
pub preference: u16,
pub flags: CharacterString<'a>,
pub services: CharacterString<'a>,
pub regexp: CharacterString<'a>,
pub replacement: Name<'a>,
}
Expand description
RFC 3403: Used to map a domain name to a set of services. The fields determine the order of processing, specify the protocol and service to be used, and transform the original domain name into a new domain name or URI.
Fields§
§order: u16
Order in which NAPTR records must be processed
preference: u16
Order in which NAPTR records with equal Order values should be processed
flags: CharacterString<'a>
Control rewriting and interpretation of the fields in the record
services: CharacterString<'a>
Service Parameters applicable to this this delegation path
regexp: CharacterString<'a>
Regular expression applied to original string from client
replacement: Name<'a>
Next domain-name to query for
Implementations§
Trait Implementations§
source§impl<'a> PartialEq for NAPTR<'a>
impl<'a> PartialEq for NAPTR<'a>
impl<'a> Eq for NAPTR<'a>
impl<'a> StructuralPartialEq for NAPTR<'a>
Auto Trait Implementations§
impl<'a> Freeze for NAPTR<'a>
impl<'a> RefUnwindSafe for NAPTR<'a>
impl<'a> Send for NAPTR<'a>
impl<'a> Sync for NAPTR<'a>
impl<'a> Unpin for NAPTR<'a>
impl<'a> UnwindSafe for NAPTR<'a>
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)