1 2 3 4 5 6 7 8 9 10 11
pub trait ConvertSchema { fn schema() -> Vec<(&'static str, &'static str)>; } pub struct Cells; impl ConvertSchema for Cells { fn schema() -> Vec<(&'static str, &'static str)> { Vec::new() } }