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

pub trait IPageRequest: Send + Sync {
    fn get_size(&self) -> u64;
fn get_current(&self) -> u64;
fn get_total(&self) -> u64;
fn is_serch_count(&self) -> bool;
fn set_total(&mut self, arg: u64);
fn set_size(&mut self, arg: u64);
fn set_current(&mut self, arg: u64);
fn set_serch_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_size(&self) -> u64

fn get_current(&self) -> u64

fn get_total(&self) -> u64

fn is_serch_count(&self) -> bool

fn set_total(&mut self, arg: u64)

fn set_size(&mut self, arg: u64)

fn set_current(&mut self, arg: u64)

fn set_serch_count(&mut self, arg: bool)

Loading content...

Provided methods

fn get_pages(&self) -> u64

sum pages

fn offset(&self) -> u64

sum offset

Loading content...

Implementors

impl IPageRequest for PageRequest[src]

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

Loading content...