Trait fj::models::Context

source ·
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§

source

fn get_argument(&self, name: &str) -> Option<&str>

Get an argument that was passed to this model.

Implementors§