pub trait Store<StorageConnection> {
type Output;
// Required method
fn store(
&self,
into: &StorageConnection,
) -> Result<Self::Output, StorageError>;
}Expand description
Inserts a model to the underlying data store, erroring if it already exists