Trait Injector
pub trait Injector {
// Required method
fn set(&mut self, key: &str, value: String);
}
Expand description
Injector provides an interface for adding fields from an underlying struct like HashMap
pub trait Injector {
// Required method
fn set(&mut self, key: &str, value: String);
}
Injector provides an interface for adding fields from an underlying struct like HashMap