pub trait Tabled {
const LENGTH: usize;
// Required methods
fn fields(&self) -> Vec<Cow<'_, str>>;
fn headers() -> Vec<Cow<'static, str>>;
}
Available on crate feature
std
only.Expand description
Tabled a trait responsible for providing a header fields and a row fields.
It’s urgent that header
len is equal to fields
len.
Self::headers().len() == self.fields().len()
Required Associated Constants§
Required Methods§
Object Safety§
This trait is not object safe.