pub struct DnsQuestion {
pub name: String,
pub type: u32,
}Fields§
§name: StringFully qualified domain name with trailing dot
type: u32Standard DNS RR type
Trait Implementations§
Source§impl Clone for DnsQuestion
impl Clone for DnsQuestion
Source§fn clone(&self) -> DnsQuestion
fn clone(&self) -> DnsQuestion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DnsQuestion
impl Debug for DnsQuestion
Source§impl<'de> Deserialize<'de> for DnsQuestion
impl<'de> Deserialize<'de> for DnsQuestion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DnsQuestion
impl RefUnwindSafe for DnsQuestion
impl Send for DnsQuestion
impl Sync for DnsQuestion
impl Unpin for DnsQuestion
impl UnsafeUnpin for DnsQuestion
impl UnwindSafe for DnsQuestion
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