Struct domain::master::record::MasterRecord [−][src]
pub struct MasterRecord { pub owner: Rc<DNameBuf>, pub class: Class, pub ttl: u32, pub rdata: MasterRecordData, }
Fields
owner: Rc<DNameBuf>
class: Class
ttl: u32
rdata: MasterRecordData
Methods
impl MasterRecord
[src]
impl MasterRecord
impl MasterRecord
[src]
impl MasterRecord
pub fn scan<S: Scanner>(
stream: &mut S,
last_owner: Option<Rc<DNameBuf>>,
last_class: Option<Class>,
origin: &Option<Rc<DNameBuf>>,
default_ttl: Option<u32>
) -> ScanResult<Self>
[src]
pub fn scan<S: Scanner>(
stream: &mut S,
last_owner: Option<Rc<DNameBuf>>,
last_class: Option<Class>,
origin: &Option<Rc<DNameBuf>>,
default_ttl: Option<u32>
) -> ScanResult<Self>
Trait Implementations
impl Clone for MasterRecord
[src]
impl Clone for MasterRecord
fn clone(&self) -> MasterRecord
[src]
fn clone(&self) -> MasterRecord
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for MasterRecord
[src]
impl Debug for MasterRecord
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for MasterRecord
[src]
impl Display for MasterRecord
Auto Trait Implementations
impl !Send for MasterRecord
impl !Send for MasterRecord
impl !Sync for MasterRecord
impl !Sync for MasterRecord