pub struct Group<W> {
pub element: Element,
pub warnings: Vec<W>,
}Expand description
A group of warning Warnings associated with an Element.
This group is emitted from the IntoGroupByElem iterator.
The warning Warnings are owned and so can be moved to another location.
Fields§
§element: ElementThe json::Element that has Warnings.
warnings: Vec<W>The list of warnings for the json::Element.
Trait Implementations§
Auto Trait Implementations§
impl<W> Freeze for Group<W>
impl<W> RefUnwindSafe for Group<W>where
W: RefUnwindSafe,
impl<W> Send for Group<W>where
W: Send,
impl<W> Sync for Group<W>where
W: Sync,
impl<W> Unpin for Group<W>where
W: Unpin,
impl<W> UnwindSafe for Group<W>where
W: UnwindSafe,
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