pub struct SoaRecord<'a>(/* private fields */);Expand description
Typed view of an SOA record.
Implementations§
Source§impl<'a> SoaRecord<'a>
impl<'a> SoaRecord<'a>
Sourcepub fn serial(self) -> u32
pub fn serial(self) -> u32
Serial number (SOA_SERIAL).
Sourcepub fn refresh(self) -> u32
pub fn refresh(self) -> u32
Refresh interval (SOA_REFRESH).
Sourcepub fn expire(self) -> u32
pub fn expire(self) -> u32
Expire limit (SOA_EXPIRE).
Sourcepub fn minimum(self) -> u32
pub fn minimum(self) -> u32
Minimum TTL (SOA_MINIMUM).
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SoaRecord<'a>
impl<'a> RefUnwindSafe for SoaRecord<'a>
impl<'a> Send for SoaRecord<'a>
impl<'a> Sync for SoaRecord<'a>
impl<'a> Unpin for SoaRecord<'a>
impl<'a> UnsafeUnpin for SoaRecord<'a>
impl<'a> UnwindSafe for SoaRecord<'a>
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more