pub trait Upsert {
// Required methods
fn is_dirty(&self) -> bool;
fn generic(self) -> Update;
fn apply(&self, db: &Database) -> Result<i32>;
}
pub trait Upsert {
// Required methods
fn is_dirty(&self) -> bool;
fn generic(self) -> Update;
fn apply(&self, db: &Database) -> Result<i32>;
}