pub struct SOA { /* private fields */ }
Implementations§
source§impl SOA
impl SOA
pub fn new( mname: Name, rname: Name, serial: u32, refresh: i32, retry: i32, expire: i32, minimum: u32 ) -> Self
pub fn increment_serial(&mut self)
pub fn mname(&self) -> &Name
pub fn rname(&self) -> &Name
pub fn serial(&self) -> u32
pub fn refresh(&self) -> i32
pub fn retry(&self) -> i32
pub fn expire(&self) -> i32
pub fn minimum(&self) -> u32
Trait Implementations§
source§impl Differ for SOA
impl Differ for SOA
type FieldType = Field
fn difference(&self, other: &Self) -> Option<Difference<Self::FieldType>>
source§impl Ord for SOA
impl Ord for SOA
source§impl PartialOrd for SOA
impl PartialOrd for SOA
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 SOA
impl StructuralPartialEq for SOA
Auto Trait Implementations§
impl RefUnwindSafe for SOA
impl Send for SOA
impl Sync for SOA
impl Unpin for SOA
impl UnwindSafe for SOA
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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.