#[non_exhaustive]pub enum OperationValidationMode {
Lenient,
Strict,
}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.
Trait Implementations§
Source§impl Clone for OperationValidationMode
impl Clone for OperationValidationMode
Source§fn clone(&self) -> OperationValidationMode
fn clone(&self) -> OperationValidationMode
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 Debug for OperationValidationMode
impl Debug for OperationValidationMode
Source§impl PartialEq for OperationValidationMode
impl PartialEq for OperationValidationMode
Source§fn eq(&self, other: &OperationValidationMode) -> bool
fn eq(&self, other: &OperationValidationMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OperationValidationMode
impl Eq for OperationValidationMode
impl StructuralPartialEq for OperationValidationMode
Auto Trait Implementations§
impl Freeze for OperationValidationMode
impl RefUnwindSafe for OperationValidationMode
impl Send for OperationValidationMode
impl Sync for OperationValidationMode
impl Unpin for OperationValidationMode
impl UnsafeUnpin for OperationValidationMode
impl UnwindSafe for OperationValidationMode
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