pub struct Record<R> { /* private fields */ }Expand description
A resource record as it appears in a zone file
Implementations§
Source§impl<R> Record<R>
impl<R> Record<R>
Source§impl<R: RecordData> Record<R>
impl<R: RecordData> Record<R>
Sourcepub fn record_type(&self) -> RecordType
pub fn record_type(&self) -> RecordType
Returns the type of the RecordData in the record
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for Record<R>where
R: Freeze,
impl<R> RefUnwindSafe for Record<R>where
R: RefUnwindSafe,
impl<R> Send for Record<R>where
R: Send,
impl<R> Sync for Record<R>where
R: Sync,
impl<R> Unpin for Record<R>where
R: Unpin,
impl<R> UnwindSafe for Record<R>where
R: UnwindSafe,
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