Struct resolv::record::Record
[−]
[src]
pub struct Record<T: RecordData> { pub name: String, pub class: Class, pub ttl: u32, pub data: T, }
A DNS response record of a particular type
Fields
name: String
class: Class
ttl: u32
data: T
Methods
impl<T: RecordData> Record<T>
[src]
Trait Implementations
impl<T: Clone + RecordData> Clone for Record<T>
[src]
fn clone(&self) -> Record<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more