pub trait Scopeable {
// Required methods
fn id_str(&self) -> String;
fn summarize(&self) -> String;
fn extract_fields(&self, fields: &[String]) -> HashMap<String, Value>;
fn to_json(&self) -> Value;
}pub trait Scopeable {
// Required methods
fn id_str(&self) -> String;
fn summarize(&self) -> String;
fn extract_fields(&self, fields: &[String]) -> HashMap<String, Value>;
fn to_json(&self) -> Value;
}