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 { ... } }

Page interface, support get_pages() and offset()

Required methods

fn get_page_size(&self) -> u64[src]

fn get_page_no(&self) -> u64[src]

fn get_total(&self) -> u64[src]

fn is_search_count(&self) -> bool[src]

fn set_total(&mut self, arg: u64)[src]

fn set_page_size(&mut self, arg: u64)[src]

fn set_page_no(&mut self, arg: u64)[src]

fn set_search_count(&mut self, arg: bool)[src]

Loading content...

Provided methods

fn get_pages(&self) -> u64[src]

sum pages

fn offset(&self) -> u64[src]

sum offset

Loading content...

Implementors

impl IPageRequest for PageRequest[src]

impl<T> IPageRequest for Page<T> where
    T: Send + Sync
[src]

Loading content...