pub struct Question<'a> {
pub q_name: Name<'a>,
pub q_type: QType,
pub q_class: QClass,
}Fields§
§q_name: Name<'a>§q_type: QType§q_class: QClassImplementations§
Trait Implementations§
Source§impl<'a> WireLength<usize> for Question<'a>
impl<'a> WireLength<usize> for Question<'a>
Source§fn wire_length(&self) -> usize
fn wire_length(&self) -> usize
Returns the length of this value in bytes when encoded in wire format.
impl<'a> Eq for Question<'a>
impl<'a> StructuralPartialEq for Question<'a>
Auto Trait Implementations§
impl<'a> Freeze for Question<'a>
impl<'a> RefUnwindSafe for Question<'a>
impl<'a> Send for Question<'a>
impl<'a> Sync for Question<'a>
impl<'a> Unpin for Question<'a>
impl<'a> UnsafeUnpin for Question<'a>
impl<'a> UnwindSafe for Question<'a>
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