Trait sn0int::models::InsertableStruct
source · pub trait InsertableStruct<T: Model>: Upsertable<T> {
// Required methods
fn value(&self) -> &T::ID;
fn set_scoped(&mut self, scoped: bool);
fn insert(&self, db: &Database) -> Result<()>;
}