[go: up one dir, main page]

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.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Performs the conversion.

Performs the conversion.

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

function to be implemented that returns a new instance of your type using values read from the `FieldIterator’ Read more

Use the FieldWriter to write the fields of the record

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.