Struct webrtc_mdns::message::header::Header
source · pub struct Header {
pub id: u16,
pub response: bool,
pub op_code: OpCode,
pub authoritative: bool,
pub truncated: bool,
pub recursion_desired: bool,
pub recursion_available: bool,
pub rcode: RCode,
}
Fields§
§id: u16
§response: bool
§op_code: OpCode
§truncated: bool
§recursion_desired: bool
§recursion_available: bool
§rcode: RCode
Implementations§
Trait Implementations§
source§impl PartialEq for Header
impl PartialEq for Header
impl Copy for Header
impl Eq for Header
impl StructuralPartialEq for Header
Auto Trait Implementations§
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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