Trait Extractor
pub trait Extractor {
// Required methods
fn get(&self, key: &str) -> Option<&str>;
fn keys(&self) -> Vec<&str>;
// Provided method
fn get_all(&self, key: &str) -> Option<Vec<&str>> { ... }
}
Expand description
Extractor provides an interface for removing fields from an underlying struct like HashMap