pub struct Group<'caller, 'buf, K> {
pub element: &'caller Element<'buf>,
pub warnings: Vec<&'caller K>,
}Expand description
A group of warning Kinds associated with an Element.
This group is emitted from the GroupByElem iterator.
The warning Kinds are borrowed so the source Set does not need to be consumed/moved.
Fields§
§element: &'caller Element<'buf>The json::Element that has Warnings.
warnings: Vec<&'caller K>The list of warnings for the json::Element.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'caller, 'buf, K> Freeze for Group<'caller, 'buf, K>
impl<'caller, 'buf, K> RefUnwindSafe for Group<'caller, 'buf, K>where
K: RefUnwindSafe,
impl<'caller, 'buf, K> !Send for Group<'caller, 'buf, K>
impl<'caller, 'buf, K> !Sync for Group<'caller, 'buf, K>
impl<'caller, 'buf, K> Unpin for Group<'caller, 'buf, K>
impl<'caller, 'buf, K> UnwindSafe for Group<'caller, 'buf, 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