Struct resolve::message::Question [] [src]

pub struct Question {
    pub name: String,
    pub q_type: RecordType,
    pub q_class: Class,
}

Represents a question item.

Fields

name

Query name

q_type

Query type

q_class

Query class

Methods

impl Question

fn new(name: String, q_type: RecordType, q_class: Class) -> Question

Constructs a new Question.

Trait Implementations

Derived Implementations

impl PartialEq for Question

fn eq(&self, __arg_0: &Question) -> bool

fn ne(&self, __arg_0: &Question) -> bool

impl Eq for Question

impl Debug for Question

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

impl Clone for Question

fn clone(&self) -> Question

1.0.0fn clone_from(&mut self, source: &Self)