Skip to main content

Scopeable

Trait Scopeable 

Source
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;
}

Required Methods§

Source

fn id_str(&self) -> String

Source

fn summarize(&self) -> String

Source

fn extract_fields(&self, fields: &[String]) -> HashMap<String, Value>

Source

fn to_json(&self) -> Value

Implementors§