Struct hickory_proto::rr::RrKey
source · pub struct RrKey {
pub name: LowerName,
pub record_type: RecordType,
}
Expand description
Accessor key for RRSets in the Authority.
Fields§
§name: LowerName
Matches the name in the Record of this key
record_type: RecordType
Matches the type of the Record of this key
Implementations§
Trait Implementations§
source§impl Ord for RrKey
impl Ord for RrKey
source§impl PartialEq for RrKey
impl PartialEq for RrKey
source§impl PartialOrd for RrKey
impl PartialOrd for RrKey
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for RrKey
impl StructuralPartialEq for RrKey
Auto Trait Implementations§
impl Freeze for RrKey
impl RefUnwindSafe for RrKey
impl Send for RrKey
impl Sync for RrKey
impl Unpin for RrKey
impl UnwindSafe for RrKey
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
source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.