Enum dominion::header::AuthoritativeAnswer
source · pub enum AuthoritativeAnswer {
NonAuthoritative,
Authoritative,
}
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 copy 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<u16> for AuthoritativeAnswer
impl From<u16> for AuthoritativeAnswer
source§fn from(n: u16) -> AuthoritativeAnswer
fn from(n: u16) -> AuthoritativeAnswer
Converts to this type from the input type.
source§impl PartialEq<AuthoritativeAnswer> for AuthoritativeAnswer
impl PartialEq<AuthoritativeAnswer> for AuthoritativeAnswer
source§fn eq(&self, other: &AuthoritativeAnswer) -> bool
fn eq(&self, other: &AuthoritativeAnswer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.