Trait yatt_orm::StoreObject
source · [−]pub trait StoreObject: Clone + Default {
fn get_field_val(&self, field_name: &str) -> FieldVal;
fn get_type_name(&self) -> &'static str;
fn get_fields_list(&self) -> &'static [&'static str];
fn set_field_val(
&mut self,
field_name: &str,
val: impl Into<FieldVal>
) -> DBResult<()>;
}