Struct resolv::record::PTR [] [src]

pub struct PTR {
    pub dname: String,
}

Fields

dname: String

Trait Implementations

impl Clone for PTR
[src]

fn clone(&self) -> PTR

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

impl Debug for PTR
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl RecordData for PTR
[src]

fn get_record_type() -> RecordType

Get type of record

fn extract(msg: &mut Message, rr: &Rr) -> Result<PTRError>

Convert from low level resource record. For internal use.