pub struct DataPage {
pub rows: Vec<Value>,
pub total: usize,
}Expand description
A page of rows plus the unpaginated total.
Fields§
§rows: Vec<Value>The rows for the requested page (each a JSON object).
total: usizeTotal number of rows matching the query, ignoring pagination.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DataPage
impl RefUnwindSafe for DataPage
impl Send for DataPage
impl Sync for DataPage
impl Unpin for DataPage
impl UnsafeUnpin for DataPage
impl UnwindSafe for DataPage
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<R, D> DepsPresent<D> for R
Source§impl<T> Injectable for T
impl<T> Injectable for T
Source§fn type_id_of() -> TypeIdwhere
Self: Sized,
fn type_id_of() -> TypeIdwhere
Self: Sized,
Returns the TypeId of this type (for internal use)
Source§fn type_name_of() -> &'static strwhere
Self: Sized,
fn type_name_of() -> &'static strwhere
Self: Sized,
Returns the type name for debugging