pub trait DataEntry {
// Required methods
fn key(&self) -> Cow<'_, str>;
fn value(&self) -> Cow<'_, str>;
fn label(&self) -> Cow<'_, str>;
}
Expand description
An interface for the data entries.
pub trait DataEntry {
// Required methods
fn key(&self) -> Cow<'_, str>;
fn value(&self) -> Cow<'_, str>;
fn label(&self) -> Cow<'_, str>;
}
An interface for the data entries.