Struct kubizone_common::RecordIdent
source · 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 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 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§fn eq(&self, other: &RecordIdent) -> bool
fn eq(&self, other: &RecordIdent) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for RecordIdent
impl PartialOrd for RecordIdent
source§fn partial_cmp(&self, other: &RecordIdent) -> Option<Ordering>
fn partial_cmp(&self, other: &RecordIdent) -> Option<Ordering>
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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)