pub struct ElementReport<'a, 'bin, K: Kind> {
pub element: &'a Element<'bin>,
pub warnings: &'a [K],
}
Expand description
A report of all warnings for a given json::Element
.
Fields§
§element: &'a Element<'bin>
The json::Element
that has Warning
s.
warnings: &'a [K]
The list of warnings for the json::Element
.
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'bin, K> Freeze for ElementReport<'a, 'bin, K>
impl<'a, 'bin, K> RefUnwindSafe for ElementReport<'a, 'bin, K>where
K: RefUnwindSafe,
impl<'a, 'bin, K> !Send for ElementReport<'a, 'bin, K>
impl<'a, 'bin, K> !Sync for ElementReport<'a, 'bin, K>
impl<'a, 'bin, K> Unpin for ElementReport<'a, 'bin, K>
impl<'a, 'bin, K> UnwindSafe for ElementReport<'a, 'bin, K>where
K: 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