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