teo_runtime/model/field/
indexable.rs1use crate::model::field;
2use crate::traits::named::Named;
3
4pub trait Indexable: Named {
5
6 fn index(&self) -> Option<&field::Index>;
7}
8
9pub trait SetIndex: Named {
10 fn set_index(&self, index: field::Index);
11}