Skip to main content

ColumnNames

Trait ColumnNames 

Source
pub trait ColumnNames: Sealed {
    // Provided method
    fn names() -> Vec<&'static str> { ... }
}
Expand description

The names a declared row spells, in order — read off the row itself so a WITH name (..) header cannot disagree with the shape its body was checked against. Implemented here only, for RowNil and RowCons.

Provided Methods§

Source

fn names() -> Vec<&'static str>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl ColumnNames for RowNil

Source§

impl<K: Named, V, Tail: ColumnNames> ColumnNames for RowCons<K, V, Tail>