pub struct SoftDeleteScope;Expand description
软删除全局作用域
自动追加 AND {soft_delete_field} IS NULL 到所有查询。
需配合 SoftDelete trait 使用。
Auto Trait Implementations§
impl Freeze for SoftDeleteScope
impl RefUnwindSafe for SoftDeleteScope
impl Send for SoftDeleteScope
impl Sync for SoftDeleteScope
impl Unpin for SoftDeleteScope
impl UnsafeUnpin for SoftDeleteScope
impl UnwindSafe for SoftDeleteScope
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more