pub struct RecordIdent {
pub fqdn: FullyQualifiedDomainName,
pub type: Type,
pub rdata: String,
}Expand description
A uniquely identified Record identity.
Encompasses the tuple of (fqdn, type, rdata), which should uniquely identify it within a zone, since zones cannot contain records which are not unique across these parameters.
Can be used to store records in HashMaps/HashSets
Fields§
§fqdn: FullyQualifiedDomainName§type: Type§rdata: StringTrait Implementations§
Source§impl Clone for RecordIdent
impl Clone for RecordIdent
Source§fn clone(&self) -> RecordIdent
fn clone(&self) -> RecordIdent
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 RecordIdent
impl Debug for RecordIdent
Source§impl Hash for RecordIdent
impl Hash for RecordIdent
Source§impl Ord for RecordIdent
impl Ord for RecordIdent
Source§fn cmp(&self, other: &RecordIdent) -> Ordering
fn cmp(&self, other: &RecordIdent) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RecordIdent
impl PartialEq for RecordIdent
Source§impl PartialOrd for RecordIdent
impl PartialOrd for RecordIdent
impl Eq for RecordIdent
impl StructuralPartialEq for RecordIdent
Auto Trait Implementations§
impl Freeze for RecordIdent
impl RefUnwindSafe for RecordIdent
impl Send for RecordIdent
impl Sync for RecordIdent
impl Unpin for RecordIdent
impl UnwindSafe for RecordIdent
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