pub trait StoreOrIgnore<StorageConnection> {
type Output;
// Required method
fn store_or_ignore(
&self,
into: &StorageConnection,
) -> Result<Self::Output, StorageError>;
}Expand description
Inserts a model to the underlying data store, silent no-op on unique constraint violations