pub struct Record { /* private fields */ }Expand description
Type definition of a generic record. A .dbf file is composed of many records
Implementations
Inserts a new value in the record, returning the old one if there was any
Example
let mut record = dbase::Record::default();
record.insert("FirstName".to_owned(), dbase::FieldValue::Character(Some("Yoshi".to_owned())));Returns the FieldValue for the given field name
Returns the mutable FieldValue for the given field name
Removes the FieldValue for the given field name
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
fn read_using<T>(
field_iterator: &mut FieldIterator<'_, T>
) -> Result<Self, FieldIOError> where
T: Read + Seek,
fn read_using<T>(
field_iterator: &mut FieldIterator<'_, T>
) -> Result<Self, FieldIOError> where
T: Read + Seek,
function to be implemented that returns a new instance of your type using values read from the `FieldIterator’ Read more
fn write_using<'a, W: Write>(
&self,
field_writer: &mut FieldWriter<'a, W>
) -> Result<(), FieldIOError>
fn write_using<'a, W: Write>(
&self,
field_writer: &mut FieldWriter<'a, W>
) -> Result<(), FieldIOError>
Use the FieldWriter to write the fields of the record
Auto Trait Implementations
impl RefUnwindSafe for Record
impl UnwindSafe for Record
Blanket Implementations
Mutably borrows from an owned value. Read more