pub struct UpdateIntegrityValidator<'a, T, M, A = AccessControlList>{ /* private fields */ }Expand description
Integrity validator for update operations.
Unlike super::InsertIntegrityValidator, this validator allows the
primary key to remain unchanged during an update.
Implementations§
Source§impl<'a, T, M, A> UpdateIntegrityValidator<'a, T, M, A>
impl<'a, T, M, A> UpdateIntegrityValidator<'a, T, M, A>
Sourcepub fn new(dbms: &'a WasmDbmsDatabase<'a, M, A>, old_pk: Value) -> Self
pub fn new(dbms: &'a WasmDbmsDatabase<'a, M, A>, old_pk: Value) -> Self
Creates a new update integrity validator.
Source§impl<T, M, A> UpdateIntegrityValidator<'_, T, M, A>
impl<T, M, A> UpdateIntegrityValidator<'_, T, M, A>
Auto Trait Implementations§
impl<'a, T, M, A> Freeze for UpdateIntegrityValidator<'a, T, M, A>
impl<'a, T, M, A = AccessControlList> !RefUnwindSafe for UpdateIntegrityValidator<'a, T, M, A>
impl<'a, T, M, A = AccessControlList> !Send for UpdateIntegrityValidator<'a, T, M, A>
impl<'a, T, M, A = AccessControlList> !Sync for UpdateIntegrityValidator<'a, T, M, A>
impl<'a, T, M, A> Unpin for UpdateIntegrityValidator<'a, T, M, A>where
T: Unpin,
impl<'a, T, M, A> UnsafeUnpin for UpdateIntegrityValidator<'a, T, M, A>
impl<'a, T, M, A = AccessControlList> !UnwindSafe for UpdateIntegrityValidator<'a, T, M, A>
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