pub struct InvalidJson {
pub at: ByteOffset,
pub line: usize,
pub column: usize,
pub message: String,
}Expand description
Where the JSON in a document stops being valid.
Fields§
§at: ByteOffset§line: usizeCounted from 1, as in the status bar.
column: usizeThe visual column, counted from 1, as in the status bar.
message: StringTrait Implementations§
Source§impl Clone for InvalidJson
impl Clone for InvalidJson
Source§impl Debug for InvalidJson
impl Debug for InvalidJson
impl Eq for InvalidJson
Source§impl PartialEq for InvalidJson
impl PartialEq for InvalidJson
impl StructuralPartialEq for InvalidJson
Auto Trait Implementations§
impl Freeze for InvalidJson
impl RefUnwindSafe for InvalidJson
impl Send for InvalidJson
impl Sync for InvalidJson
impl Unpin for InvalidJson
impl UnsafeUnpin for InvalidJson
impl UnwindSafe for InvalidJson
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