[−][src]Struct tdns_cli::record::RecordSet
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]
ⓘImportant traits for RsDataIter<'a>
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]
Auto Trait Implementations
impl Send for RecordSet
impl Sync for RecordSet
impl Unpin for RecordSet
impl UnwindSafe for RecordSet
impl RefUnwindSafe for RecordSet
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> Same<T> for T
type Output = T
Should always be Self