pub struct Record { /* private fields */ }
Implementations§
source§impl Record
impl Record
pub fn name(&self) -> &Name
sourcepub fn associated_name(&self) -> &Name
pub fn associated_name(&self) -> &Name
Name associated with this record. This is either the Name
of the record or the Name
the record points to.
pub fn record_type(&self) -> RecordType
pub fn ttl(&self) -> u32
pub fn data(&self) -> &RData
Trait Implementations§
source§impl PartialEq for Record
impl PartialEq for Record
impl Eq for Record
Auto Trait Implementations§
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnwindSafe for Record
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<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.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.