pub struct RecordSetParts {
pub name: Name,
pub record_type: RecordType,
pub dns_class: DNSClass,
pub ttl: u32,
pub records: Vec<Record>,
pub rrsigs: Vec<Record>,
pub serial: u32,
}Expand description
Consumes RecordSet giving public access to fields of RecordSet so they can
be destructured and taken by value
Fields§
§name: NameName for this record set
record_type: RecordTypeType for this record set
dns_class: DNSClassDNS class for this record set
ttl: u32Time to live for this record set
records: Vec<Record>Records in this record set
rrsigs: Vec<Record>RRSIGs for this record set
serial: u32Serial number at which this record was modified
Trait Implementations§
Source§impl Clone for RecordSetParts
impl Clone for RecordSetParts
Source§fn clone(&self) -> RecordSetParts
fn clone(&self) -> RecordSetParts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RecordSetParts
impl Debug for RecordSetParts
Source§impl From<RecordSet> for RecordSetParts
impl From<RecordSet> for RecordSetParts
Source§impl PartialEq for RecordSetParts
impl PartialEq for RecordSetParts
Source§fn eq(&self, other: &RecordSetParts) -> bool
fn eq(&self, other: &RecordSetParts) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RecordSetParts
impl StructuralPartialEq for RecordSetParts
Auto Trait Implementations§
impl Freeze for RecordSetParts
impl RefUnwindSafe for RecordSetParts
impl Send for RecordSetParts
impl Sync for RecordSetParts
impl Unpin for RecordSetParts
impl UnsafeUnpin for RecordSetParts
impl UnwindSafe for RecordSetParts
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