pub struct JsonExtractError { /* private fields */ }Expand description
An error from extracting a typed value out of JSON, carrying the
JsonPath of the offending location.
Implementations§
Trait Implementations§
Source§impl Clone for JsonExtractError
impl Clone for JsonExtractError
Source§fn clone(&self) -> JsonExtractError
fn clone(&self) -> JsonExtractError
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 JsonExtractError
impl Debug for JsonExtractError
Source§impl Display for JsonExtractError
impl Display for JsonExtractError
impl Eq for JsonExtractError
Source§impl Error for JsonExtractError
Available on crate feature std only.
impl Error for JsonExtractError
Available on crate feature
std only.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
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for JsonExtractError
impl PartialEq for JsonExtractError
Source§fn eq(&self, other: &JsonExtractError) -> bool
fn eq(&self, other: &JsonExtractError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for JsonExtractError
Auto Trait Implementations§
impl Freeze for JsonExtractError
impl RefUnwindSafe for JsonExtractError
impl Send for JsonExtractError
impl Sync for JsonExtractError
impl Unpin for JsonExtractError
impl UnsafeUnpin for JsonExtractError
impl UnwindSafe for JsonExtractError
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