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: String
Query name
q_type: RecordType
Query type
q_class: Class
Query class
Methods
impl Question
[src]
fn new(name: String, q_type: RecordType, q_class: Class) -> Question
[src]
Constructs a new Question
.
Trait Implementations
impl Clone for Question
[src]
fn clone(&self) -> Question
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more