Struct nt::EntryData [−][src]
pub struct EntryData { pub name: String, pub flags: u8, pub value: EntryValue, pub seqnum: u16, }
Struct containing the data associated with an entry. Used interally to store entries
Fields
name: String
The name associated with this entry
flags: u8
The flags associated with this entry
value: EntryValue
The value associated with this entry
seqnum: u16
The most recent sequence number associated with this entry
Methods
impl EntryData
[src]
impl EntryData
pub fn new(name: String, flags: u8, value: EntryValue) -> EntryData
[src]
pub fn new(name: String, flags: u8, value: EntryValue) -> EntryData
Creates a new EntryData
with the given parameters, and a sequence number of 1
Trait Implementations
impl Clone for EntryData
[src]
impl Clone for EntryData
fn clone(&self) -> EntryData
[src]
fn clone(&self) -> EntryData
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 EntryData
[src]
impl Debug for EntryData
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 PartialEq for EntryData
[src]
impl PartialEq for EntryData