Struct rustdns::Record [−][src]
pub struct Record { pub name: String, pub type: Type, pub class: Class, pub ttl: Duration, pub resource: Resource, }
Expand description
Resource Record (RR) returned by DNS servers containing a answer to the question.
Fields
name: String
A valid UTF-8 encoded domain name.
type: Type
The resource’s type.
class: Class
The resource’s class.
ttl: Duration
The number of seconds that the resource record may be cached before the source of the information should again be consulted. Zero is interpreted to mean that the RR can only be used for the transaction in progress.
resource: Resource
The actual resource.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Record
impl UnwindSafe for Record