pub struct ElementReport<'caller, 'buf, W: Warning> {
pub element_path: &'caller Path,
pub warnings: Vec<&'caller W>,
pub json: &'buf str,
pub location: LineCol,
}Fields§
§element_path: &'caller PathThe json::Element that has the warnings.
warnings: Vec<&'caller W>The list of warnings for the json::Element.
json: &'buf strThe string from the source JSON.
location: LineColThe location of the string in the source JSON.
Trait Implementations§
Auto Trait Implementations§
impl<'caller, 'buf, W> Freeze for ElementReport<'caller, 'buf, W>
impl<'caller, 'buf, W> RefUnwindSafe for ElementReport<'caller, 'buf, W>where
W: RefUnwindSafe,
impl<'caller, 'buf, W> Send for ElementReport<'caller, 'buf, W>
impl<'caller, 'buf, W> Sync for ElementReport<'caller, 'buf, W>
impl<'caller, 'buf, W> Unpin for ElementReport<'caller, 'buf, W>
impl<'caller, 'buf, W> UnsafeUnpin for ElementReport<'caller, 'buf, W>
impl<'caller, 'buf, W> UnwindSafe for ElementReport<'caller, 'buf, W>where
W: RefUnwindSafe,
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