pub trait FieldLike { // Required methods fn data_type(&self) -> &DataType; fn name(&self) -> &str; }
Something that has a data type and a name.