Struct resolv::record::CNAME
[−]
[src]
pub struct CNAME { pub cname: String, }
Fields
cname: String
Trait Implementations
impl Clone for CNAME
[src]
fn clone(&self) -> CNAME
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 CNAME
[src]
impl RecordData for CNAME
[src]
fn get_record_type() -> RecordType
Get type of record
fn extract(msg: &mut Message, rr: &Rr) -> Result<CNAME, Error>
Convert from low level resource record. For internal use.