Struct dominion::body::RecordPreamble
source · pub struct RecordPreamble<'a> {
pub name: Name<'a>,
pub rrtype: Type,
pub class: Class,
pub ttl: i32,
pub rdlen: u16,
}
Expand description
The ResourceRecord preamble. Common data to all resource record types.
Fields§
§name: Name<'a>
The domain name the RR refers to.
rrtype: Type
The RR type.
class: Class
The RR class.
ttl: i32
The time interval that the resource record may be cached before the source of the information should again be consulted.
rdlen: u16
The length of the RR data.
Trait Implementations§
source§impl<'a> Clone for RecordPreamble<'a>
impl<'a> Clone for RecordPreamble<'a>
source§fn clone(&self) -> RecordPreamble<'a>
fn clone(&self) -> RecordPreamble<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more