pub trait SoftDeleteProvider: Send + Sync {
// Required method
fn apply(
&self,
context: SoftDeleteContext<'_>,
changes: &mut Vec<ColumnValue>,
) -> Result<(), OrmError>;
}Expand description
Runtime provider that mutates soft-delete changes before execution.
Required Methods§
Sourcefn apply(
&self,
context: SoftDeleteContext<'_>,
changes: &mut Vec<ColumnValue>,
) -> Result<(), OrmError>
fn apply( &self, context: SoftDeleteContext<'_>, changes: &mut Vec<ColumnValue>, ) -> Result<(), OrmError>
Adds or adjusts soft-delete column values for the current context.