pub struct NS {
pub name: Name,
pub name_server: Name,
}Expand description
A Name Server resource record, which indicates the server responsible for handling queries for a zone.
Fields§
§name: NameThe name this record is at.
This is also the zone which the server at Self::name_server is responsible for handling
queries for.
name_server: NameThe name of the server which is responsible for handling queries for the [self.name]
zone.
Trait Implementations§
Source§impl Ord for NS
impl Ord for NS
Source§impl PartialOrd for NS
impl PartialOrd for NS
impl Eq for NS
impl StructuralPartialEq for NS
Auto Trait Implementations§
impl Freeze for NS
impl RefUnwindSafe for NS
impl Send for NS
impl Sync for NS
impl Unpin for NS
impl UnwindSafe for NS
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<RR> Record for RRwhere
RR: StaticRecord,
impl<RR> Record for RRwhere
RR: StaticRecord,
Source§fn write_u16_len_prefixed_data(&self, out: &mut Vec<u8>)
fn write_u16_len_prefixed_data(&self, out: &mut Vec<u8>)
Writes the data of this record, prefixed by a u16 length, to the given
Vec.