Struct libresolv_sys::__ns_rr [] [src]

pub struct __ns_rr {
    pub name: [c_char; 1025],
    pub type_: u_int16_t,
    pub rr_class: u_int16_t,
    pub ttl: u_int32_t,
    pub rdlength: u_int16_t,
    pub rdata: *const u_char,
}

Fields

name: [c_char; 1025] type_: u_int16_t rr_class: u_int16_t ttl: u_int32_t rdlength: u_int16_t rdata: *const u_char

Trait Implementations

impl Copy for __ns_rr
[src]

impl Clone for __ns_rr
[src]

fn clone(&self) -> Self

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 Default for __ns_rr
[src]

fn default() -> Self

Returns the "default value" for a type. Read more