Trait rdb_pagination::OrderMethodValue

source ·
pub trait OrderMethodValue: Debug + Default + Copy + Clone + Eq + PartialEq + Ord + PartialOrd + Hash + FromStr<Err = ParseIntError> {
    // Required methods
    fn zero() -> Self;
    fn one() -> Self;
    fn abs(&self) -> Self;
}
Expand description

Value for OrderMethod. This should be i8 or i16.

Required Methods§

source

fn zero() -> Self

source

fn one() -> Self

source

fn abs(&self) -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl OrderMethodValue for i8

source§

fn zero() -> i8

source§

fn one() -> i8

source§

fn abs(&self) -> i8

source§

impl OrderMethodValue for i16

source§

fn zero() -> i16

source§

fn one() -> i16

source§

fn abs(&self) -> i16

Implementors§