[][src]Struct tdns_cli::record::RecordSet

pub struct RecordSet { /* fields omitted */ }

This is a representation of the record set as described in RFC 2136.

A domain name identifies a node within the domain name space tree structure. Each node has a set (possibly empty) of Resource Records (RRs). All RRs having the same NAME, CLASS and TYPE are called a Resource Record Set (RRset

Methods

impl RecordSet[src]

pub fn new(name: Name, data: RsData) -> Self[src]

pub fn name(&self) -> &Name[src]

pub fn dns_class(&self) -> DNSClass[src]

pub fn record_type(&self) -> RecordType[src]

pub fn to_rrset(&self, ttl: u32) -> RecordSet[src]

pub fn data(&self) -> &RsData[src]

Important traits for RsDataIter<'a>
pub fn iter_data(&self) -> RsDataIter[src]

pub fn contains(&self, entry: &RData) -> bool[src]

pub fn is_empty(&self) -> bool[src]

pub fn is_subset(&self, other: &RecordSet) -> bool[src]

Trait Implementations

impl Clone for RecordSet[src]

impl Eq for RecordSet[src]

impl PartialEq<RecordSet> for RecordSet[src]

impl Display for RecordSet[src]

impl Debug for RecordSet[src]

impl<'_> TryFrom<&'_ [Record]> for RecordSet[src]

type Error = TryFromRecordsError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self