Trait below_model::Queriable
source · pub trait Queriable {
type FieldId: FieldId<Queriable = Self>;
// Required method
fn query(&self, field_id: &Self::FieldId) -> Option<Field>;
}
Expand description
Each Model is composed of Fields and optionally sub-Models. The Queriable trait let us query() a Model for a particular Field within the hierarchy with the given FieldId.