#[non_exhaustive]pub struct GridPage {
pub rows: Vec<Vec<Value>>,
pub total: Option<usize>,
pub has_more: bool,
pub totals: Vec<Option<f64>>,
}Expand description
What a RemoteRows loader brought.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.rows: Vec<Vec<Value>>The rows, at most as many as were asked for.
total: Option<usize>How many rows match in all, when it is known.
has_more: boolThere are more rows after these. Without a total, the grid keeps going while this holds.
totals: Vec<Option<f64>>Aggregates per column, for the footer.
Implementations§
Trait Implementations§
impl StructuralPartialEq for GridPage
Auto Trait Implementations§
impl Freeze for GridPage
impl RefUnwindSafe for GridPage
impl Send for GridPage
impl Sync for GridPage
impl Unpin for GridPage
impl UnsafeUnpin for GridPage
impl UnwindSafe for GridPage
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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