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

pub trait IPageRequest: Send + Sync {
    pub fn get_size(&self) -> u64;
pub fn get_current(&self) -> u64;
pub fn get_total(&self) -> u64;
pub fn is_serch_count(&self) -> bool;
pub fn set_total(&mut self, arg: u64);
pub fn set_size(&mut self, arg: u64);
pub fn set_current(&mut self, arg: u64);
pub fn set_serch_count(&mut self, arg: bool); pub fn get_pages(&self) -> u64 { ... }
pub fn offset(&self) -> u64 { ... } }

Page interface, support get_pages() and offset()

Required methods

pub fn get_size(&self) -> u64[src]

pub fn get_current(&self) -> u64[src]

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

pub fn is_serch_count(&self) -> bool[src]

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

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

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

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

Loading content...

Provided methods

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

sum pages

pub 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...