Struct rotor_dns::SrvRecord [] [src]

pub struct SrvRecord {
    pub priority: u16,
    pub weight: u16,
    pub port: u16,
    pub target: String,
}

Single SRV record

Fields

priority: u16 weight: u16 port: u16 target: String

Trait Implementations

impl Clone for SrvRecord
[src]

fn clone(&self) -> SrvRecord

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 SrvRecord
[src]

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

Formats the value using the given formatter.