Struct doapi::response::DnsRecord [] [src]

pub struct DnsRecord {
    pub id: f64,
    pub rec_type: String,
    pub name: String,
    pub data: String,
    pub priority: Option<f64>,
    pub port: Option<f64>,
    pub weight: Option<f64>,
}

Fields

id
rec_type
name
data
priority
port
weight

Trait Implementations

impl NotArray for DnsRecord

impl NamedResponse for DnsRecord

fn name<'a>() -> Cow<'a, str>

impl Display for DnsRecord

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

Derived Implementations

impl Deserialize for DnsRecord

fn deserialize<__D>(deserializer: &mut __D) -> Result<DnsRecord, __D::Error> where __D: Deserializer