pub struct LineGroup<'b, T>{
pub value: T,
pub lines: Vec<&'b LogLine>,
pub trend: Trend,
pub bytes: u64,
pub key_sum: u64,
}
Expand description
A non empty group of lines, with a common characteristic, for stats
Fields§
§value: T
§lines: Vec<&'b LogLine>
§trend: Trend
§bytes: u64
§key_sum: u64
Implementations§
Auto Trait Implementations§
impl<'b, T> Freeze for LineGroup<'b, T>where
T: Freeze,
impl<'b, T> RefUnwindSafe for LineGroup<'b, T>where
T: RefUnwindSafe,
impl<'b, T> Send for LineGroup<'b, T>where
T: Send,
impl<'b, T> Sync for LineGroup<'b, T>where
T: Sync,
impl<'b, T> Unpin for LineGroup<'b, T>where
T: Unpin,
impl<'b, T> UnwindSafe for LineGroup<'b, T>where
T: 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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more