#[non_exhaustive]pub enum AuditMode {
Full,
Lightweight,
CreationOnly,
Off,
}Expand description
How much is written about the records of an entity.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Full
Everything, with the fields and their values, before and after.
Lightweight
That a record was created, changed or deleted, with no fields or values.
CreationOnly
Only that a record was created, as when bringing in a lot of records.
Off
Nothing.
Trait Implementations§
impl Copy for AuditMode
impl Eq for AuditMode
impl StructuralPartialEq for AuditMode
Auto Trait Implementations§
impl Freeze for AuditMode
impl RefUnwindSafe for AuditMode
impl Send for AuditMode
impl Sync for AuditMode
impl Unpin for AuditMode
impl UnsafeUnpin for AuditMode
impl UnwindSafe for AuditMode
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