pub struct Table<R> {
pub total: usize,
pub dropped: usize,
pub rows: Vec<R>,
}Expand description
A capped table: total rows before capping, how many were dropped, and
the surviving rows.
Fields§
§total: usizeThe total value.
dropped: usizeThe dropped value.
rows: Vec<R>The rows value.
Trait Implementations§
impl<R: PartialEq> StructuralPartialEq for Table<R>
Auto Trait Implementations§
impl<R> Freeze for Table<R>
impl<R> RefUnwindSafe for Table<R>where
Vec<R>: RefUnwindSafe,
impl<R> Send for Table<R>
impl<R> Sync for Table<R>
impl<R> Unpin for Table<R>
impl<R> UnsafeUnpin for Table<R>where
Vec<R>: UnsafeUnpin,
impl<R> UnwindSafe for Table<R>where
Vec<R>: 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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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