pub struct WrongValue {
pub path: String,
pub detail: Option<String>,
}
Fields§
§path: String
§detail: Option<String>
Trait Implementations§
Source§impl Debug for WrongValue
impl Debug for WrongValue
Source§impl Display for WrongValue
impl Display for WrongValue
Source§impl Error for WrongValue
impl Error for WrongValue
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
Source§impl Serialize for WrongValue
impl Serialize for WrongValue
Auto Trait Implementations§
impl Freeze for WrongValue
impl RefUnwindSafe for WrongValue
impl Send for WrongValue
impl Sync for WrongValue
impl Unpin for WrongValue
impl UnwindSafe for WrongValue
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