logo
pub trait Extractor {
    fn get(&self, key: &str) -> Option<&str>;
    fn keys(&self) -> Vec<&str, Global>;
}
Expand description

Extractor provides an interface for removing fields from an underlying struct like HashMap

Required Methods

Get a value from a key from the underlying data.

Collect all the keys from the underlying data.

Implementations on Foreign Types

Get a value for a key from the HashMap.

Collect all the keys from the HashMap.

Implementors