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

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

Represents a question item.

Fields

Query name

Query type

Query class

Methods

impl Question
[src]

[src]

Constructs a new Question.

Trait Implementations

impl Clone for Question
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Question
[src]

[src]

Formats the value using the given formatter.

impl Eq for Question
[src]

impl PartialEq for Question
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.