pub enum Headers {
None,
FirstRow,
Keys,
Explicit(Vec<String>),
Mapping(Vec<(String, String)>),
}Expand description
Header specification for the table.
Variants§
None
No headers.
FirstRow
Use the first row of the data as a header row.
Keys
Use the keys/index positions detected in the data source.
Explicit(Vec<String>)
Use explicitly provided header labels.
Mapping(Vec<(String, String)>)
Map column keys to header labels for dict-like rows.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Headers
impl RefUnwindSafe for Headers
impl Send for Headers
impl Sync for Headers
impl Unpin for Headers
impl UnwindSafe for Headers
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more