Struct dnsmsg_parser::dns_message::DnsRecord
source · pub struct DnsRecord {
pub name: String,
pub class: String,
pub record_type: Option<String>,
pub record_type_id: u16,
pub ttl: u32,
pub rdata: Option<String>,
pub rdata_bytes: Option<Vec<u8>>,
}
Fields§
§name: String
§class: String
§record_type: Option<String>
§record_type_id: u16
§ttl: u32
§rdata: Option<String>
§rdata_bytes: Option<Vec<u8>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DnsRecord
impl RefUnwindSafe for DnsRecord
impl Send for DnsRecord
impl Sync for DnsRecord
impl Unpin for DnsRecord
impl UnwindSafe for DnsRecord
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)