Trait deuterium::ToInRangePredicate
[−]
[src]
pub trait ToInRangePredicate<T> { fn in_range<B1, B2>(&self, from: B1, to: B2) -> SharedPredicate
where
B1: ToExpression<T> + ToPredicateValue + Clone + 'static,
B2: ToExpression<T> + ToPredicateValue + Clone + 'static; fn in_range_exclude_left<B1, B2>(&self, from: B1, to: B2) -> SharedPredicate
where
B1: ToExpression<T> + ToPredicateValue + Clone + 'static,
B2: ToExpression<T> + ToPredicateValue + Clone + 'static; fn in_range_exclude_right<B1, B2>(
&self,
from: B1,
to: B2
) -> SharedPredicate
where
B1: ToExpression<T> + ToPredicateValue + Clone + 'static,
B2: ToExpression<T> + ToPredicateValue + Clone + 'static; fn in_range_exclude<B1, B2>(&self, from: B1, to: B2) -> SharedPredicate
where
B1: ToExpression<T> + ToPredicateValue + Clone + 'static,
B2: ToExpression<T> + ToPredicateValue + Clone + 'static; }
Required Methods
fn in_range<B1, B2>(&self, from: B1, to: B2) -> SharedPredicate where
B1: ToExpression<T> + ToPredicateValue + Clone + 'static,
B2: ToExpression<T> + ToPredicateValue + Clone + 'static,
B1: ToExpression<T> + ToPredicateValue + Clone + 'static,
B2: ToExpression<T> + ToPredicateValue + Clone + 'static,
fn in_range_exclude_left<B1, B2>(&self, from: B1, to: B2) -> SharedPredicate where
B1: ToExpression<T> + ToPredicateValue + Clone + 'static,
B2: ToExpression<T> + ToPredicateValue + Clone + 'static,
B1: ToExpression<T> + ToPredicateValue + Clone + 'static,
B2: ToExpression<T> + ToPredicateValue + Clone + 'static,
fn in_range_exclude_right<B1, B2>(&self, from: B1, to: B2) -> SharedPredicate where
B1: ToExpression<T> + ToPredicateValue + Clone + 'static,
B2: ToExpression<T> + ToPredicateValue + Clone + 'static,
B1: ToExpression<T> + ToPredicateValue + Clone + 'static,
B2: ToExpression<T> + ToPredicateValue + Clone + 'static,
fn in_range_exclude<B1, B2>(&self, from: B1, to: B2) -> SharedPredicate where
B1: ToExpression<T> + ToPredicateValue + Clone + 'static,
B2: ToExpression<T> + ToPredicateValue + Clone + 'static,
B1: ToExpression<T> + ToPredicateValue + Clone + 'static,
B2: ToExpression<T> + ToPredicateValue + Clone + 'static,
Implementors
impl ToInRangePredicate<i8> for I8Field
impl ToInRangePredicate<i16> for I16Field
impl ToInRangePredicate<i32> for I32Field
impl ToInRangePredicate<i64> for I64Field
impl ToInRangePredicate<f32> for F32Field
impl ToInRangePredicate<f64> for F64Field
impl ToInRangePredicate<NaiveDateTime> for TimespecField
impl ToInRangePredicate<Option<i8>> for OptionalI8Field
impl ToInRangePredicate<Option<i16>> for OptionalI16Field
impl ToInRangePredicate<Option<i32>> for OptionalI32Field
impl ToInRangePredicate<Option<i64>> for OptionalI64Field
impl ToInRangePredicate<Option<f32>> for OptionalF32Field
impl ToInRangePredicate<Option<f64>> for OptionalF64Field
impl ToInRangePredicate<Option<NaiveDateTime>> for OptionalTimespecField
impl ToInRangePredicate<RawExpression> for RawExpression