Trait rbatis::plugin::page::IPageRequest[][src]

pub trait IPageRequest: Send + Sync {
    fn get_page_size(&self) -> u64;
fn get_page_no(&self) -> u64;
fn get_total(&self) -> u64;
fn is_search_count(&self) -> bool;
fn set_total(&mut self, arg: u64);
fn set_page_size(&mut self, arg: u64);
fn set_page_no(&mut self, arg: u64);
fn set_search_count(&mut self, arg: bool); fn get_pages(&self) -> u64 { ... }
fn offset(&self) -> u64 { ... } }
Expand description

Page interface, support get_pages() and offset()

Required methods

Provided methods

sum pages

sum offset

Implementors