pub struct SoftDeleteContext<'a> {
pub entity: &'static EntityMetadata,
pub operation: SoftDeleteOperation,
pub request_values: Option<&'a SoftDeleteRequestValues>,
}Expand description
Context passed to a SoftDeleteProvider.
Fields§
§entity: &'static EntityMetadataEntity metadata for the row being logically deleted.
operation: SoftDeleteOperationPersistence operation requesting values.
request_values: Option<&'a SoftDeleteRequestValues>Request values already configured on the shared connection.
Trait Implementations§
Source§impl<'a> Clone for SoftDeleteContext<'a>
impl<'a> Clone for SoftDeleteContext<'a>
Source§fn clone(&self) -> SoftDeleteContext<'a>
fn clone(&self) -> SoftDeleteContext<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for SoftDeleteContext<'a>
impl<'a> Debug for SoftDeleteContext<'a>
impl<'a> Copy for SoftDeleteContext<'a>
Auto Trait Implementations§
impl<'a> Freeze for SoftDeleteContext<'a>
impl<'a> RefUnwindSafe for SoftDeleteContext<'a>
impl<'a> Send for SoftDeleteContext<'a>
impl<'a> Sync for SoftDeleteContext<'a>
impl<'a> Unpin for SoftDeleteContext<'a>
impl<'a> UnsafeUnpin for SoftDeleteContext<'a>
impl<'a> UnwindSafe for SoftDeleteContext<'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