pub trait Context {
// Required method
fn get_argument(&self, name: &str) -> Option<&str>;
}
Expand description
Contextual information passed to a Model
when it
is being initialized.
Required Methods§
sourcefn get_argument(&self, name: &str) -> Option<&str>
fn get_argument(&self, name: &str) -> Option<&str>
Get an argument that was passed to this model.