pub enum AuthoritativeAnswer {
NonAuthoritative = 0,
Authoritative = 1,
}Expand description
Flag to indicate if the answer is authoritative
Variants§
Trait Implementations§
Source§impl Clone for AuthoritativeAnswer
impl Clone for AuthoritativeAnswer
Source§fn clone(&self) -> AuthoritativeAnswer
fn clone(&self) -> AuthoritativeAnswer
Returns a duplicate of the value. Read more
1.0.0 · 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 AuthoritativeAnswer
impl Debug for AuthoritativeAnswer
Source§impl From<AuthoritativeAnswer> for u16
impl From<AuthoritativeAnswer> for u16
Source§fn from(flag: AuthoritativeAnswer) -> Self
fn from(flag: AuthoritativeAnswer) -> Self
Converts to this type from the input type.
Source§impl From<u16> for AuthoritativeAnswer
impl From<u16> for AuthoritativeAnswer
Source§impl PartialEq for AuthoritativeAnswer
impl PartialEq for AuthoritativeAnswer
impl Copy for AuthoritativeAnswer
impl Eq for AuthoritativeAnswer
impl StructuralPartialEq for AuthoritativeAnswer
Auto Trait Implementations§
impl Freeze for AuthoritativeAnswer
impl RefUnwindSafe for AuthoritativeAnswer
impl Send for AuthoritativeAnswer
impl Sync for AuthoritativeAnswer
impl Unpin for AuthoritativeAnswer
impl UnwindSafe for AuthoritativeAnswer
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