pub enum PayloadValidationError<E>where
E: CustomExtension,{
TraversalError(TypedTraversalError<E>),
ValidationError(ValidationError),
SchemaInconsistency,
}
Variants§
Trait Implementations§
Source§impl<E> Clone for PayloadValidationError<E>where
E: Clone + CustomExtension,
impl<E> Clone for PayloadValidationError<E>where
E: Clone + CustomExtension,
Source§fn clone(&self) -> PayloadValidationError<E>
fn clone(&self) -> PayloadValidationError<E>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<E> Debug for PayloadValidationError<E>where
E: Debug + CustomExtension,
impl<E> Debug for PayloadValidationError<E>where
E: Debug + CustomExtension,
Source§impl<E> Display for PayloadValidationError<E>where
E: CustomExtension,
impl<E> Display for PayloadValidationError<E>where
E: CustomExtension,
Source§impl<E> From<ValidationError> for PayloadValidationError<E>where
E: CustomExtension,
impl<E> From<ValidationError> for PayloadValidationError<E>where
E: CustomExtension,
Source§fn from(value: ValidationError) -> PayloadValidationError<E>
fn from(value: ValidationError) -> PayloadValidationError<E>
Converts to this type from the input type.
Source§impl<E> PartialEq for PayloadValidationError<E>where
E: PartialEq + CustomExtension,
impl<E> PartialEq for PayloadValidationError<E>where
E: PartialEq + CustomExtension,
impl<E> Eq for PayloadValidationError<E>where
E: Eq + CustomExtension,
impl<E> StructuralPartialEq for PayloadValidationError<E>where
E: CustomExtension,
Auto Trait Implementations§
impl<E> Freeze for PayloadValidationError<E>where
<<E as CustomExtension>::CustomSchema as CustomSchema>::CustomTypeKindLabel: Freeze,
<E as CustomExtension>::CustomValueKind: Freeze,
impl<E> RefUnwindSafe for PayloadValidationError<E>where
<<E as CustomExtension>::CustomSchema as CustomSchema>::CustomTypeKindLabel: RefUnwindSafe,
<E as CustomExtension>::CustomValueKind: RefUnwindSafe,
impl<E> Send for PayloadValidationError<E>where
<<E as CustomExtension>::CustomSchema as CustomSchema>::CustomTypeKindLabel: Send,
<E as CustomExtension>::CustomValueKind: Send,
impl<E> Sync for PayloadValidationError<E>where
<<E as CustomExtension>::CustomSchema as CustomSchema>::CustomTypeKindLabel: Sync,
<E as CustomExtension>::CustomValueKind: Sync,
impl<E> Unpin for PayloadValidationError<E>where
<<E as CustomExtension>::CustomSchema as CustomSchema>::CustomTypeKindLabel: Unpin,
<E as CustomExtension>::CustomValueKind: Unpin,
impl<E> UnwindSafe for PayloadValidationError<E>where
<<E as CustomExtension>::CustomSchema as CustomSchema>::CustomTypeKindLabel: UnwindSafe,
<E as CustomExtension>::CustomValueKind: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U> ContextualTryInto<U> for Twhere
U: ContextualTryFrom<T>,
impl<T, U> ContextualTryInto<U> for Twhere
U: ContextualTryFrom<T>,
type Error = <U as ContextualTryFrom<T>>::Error
type Context = <U as ContextualTryFrom<T>>::Context
fn contextual_try_into( self, context: &<U as ContextualTryFrom<T>>::Context, ) -> Result<U, <U as ContextualTryFrom<T>>::Error>
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.