mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-06 20:28:33 +00:00
13 lines
211 B
Rust
13 lines
211 B
Rust
![]() |
use string::String;
|
||
|
use vec::Vec;
|
||
|
|
||
|
#[derive(Clone, Debug)]
|
||
|
pub struct DnsAnswer {
|
||
|
pub name: String,
|
||
|
pub a_type: u16,
|
||
|
pub a_class: u16,
|
||
|
pub ttl_a: u16,
|
||
|
pub ttl_b: u16,
|
||
|
pub data: Vec<u8>
|
||
|
}
|