pub trait SheetMetadata {
    type Row;
    type Error: Error;

    fn name(&self) -> String;
    fn populate_row(&self, row: Row) -> Result<Self::Row, Self::Error>;
}
Available on crate feature excel only.
Expand description

Metadata containing how to find and read an Excel sheet.

Required Associated Types

Type of a successfully populated sheet row.

Type of a failed population attempt.

Required Methods

Name of the sheet.

Populate a sheet from the provided row reader.

Implementors

Implementation of sheet metadata for plain strings. This is used when the sheet name is passed directly to the sheet method, and will result in direct access to the row reader for manual field reading.