pub struct JsonIndexError {
pub index: usize,
pub len: usize,
}Expand description
Denotes a wrong JSON array index.
Fields§
§index: usizeThe index.
len: usizeThe length of the array.
Trait Implementations§
Source§impl Debug for JsonIndexError
impl Debug for JsonIndexError
Source§impl Display for JsonIndexError
impl Display for JsonIndexError
Source§impl From<JsonIndexError> for Error
impl From<JsonIndexError> for Error
Source§fn from(value: JsonIndexError) -> Self
fn from(value: JsonIndexError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for JsonIndexError
impl PartialEq for JsonIndexError
Source§fn eq(&self, other: &JsonIndexError) -> bool
fn eq(&self, other: &JsonIndexError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for JsonIndexError
Auto Trait Implementations§
impl Freeze for JsonIndexError
impl RefUnwindSafe for JsonIndexError
impl Send for JsonIndexError
impl Sync for JsonIndexError
impl Unpin for JsonIndexError
impl UnsafeUnpin for JsonIndexError
impl UnwindSafe for JsonIndexError
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