pub enum ParamValidationError {
Custom(Custom),
Unrecognized(Unrecognized),
InvalidParam(InvalidParam),
}Expand description
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ParamValidationError
impl Clone for ParamValidationError
Source§fn clone(&self) -> ParamValidationError
fn clone(&self) -> ParamValidationError
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 Debug for ParamValidationError
impl Debug for ParamValidationError
Source§impl<'de> Deserialize<'de> for ParamValidationError
impl<'de> Deserialize<'de> for ParamValidationError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ParamValidationError> for ErrorData<Value>
impl From<ParamValidationError> for ErrorData<Value>
Source§fn from(err: ParamValidationError) -> Self
fn from(err: ParamValidationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParamValidationError
impl RefUnwindSafe for ParamValidationError
impl Send for ParamValidationError
impl Sync for ParamValidationError
impl Unpin for ParamValidationError
impl UnwindSafe for ParamValidationError
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