Struct oas_common::record::ValidationError
source · [−]pub struct ValidationError { /* private fields */ }
Implementations
sourceimpl ValidationError
impl ValidationError
pub fn with_message(message: String) -> Self
pub fn from_error<E>(error: E) -> Selfwhere
E: Error + Send + 'static,
Trait Implementations
sourceimpl Debug for ValidationError
impl Debug for ValidationError
sourceimpl Display for ValidationError
impl Display for ValidationError
sourceimpl<E> From<E> for ValidationErrorwhere
E: Error + Send + 'static,
impl<E> From<E> for ValidationErrorwhere
E: Error + Send + 'static,
sourceimpl Serialize for ValidationError
impl Serialize for ValidationError
Auto Trait Implementations
impl RefUnwindSafe for ValidationError
impl Send for ValidationError
impl Sync for ValidationError
impl Unpin for ValidationError
impl UnwindSafe for ValidationError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be
Self