Struct deuterium::RawExpression
[−]
[src]
pub struct RawExpression { pub content: String, }
Non-checking expression with any content you want.
Fields
content: String
Methods
impl RawExpression
[src]
pub fn new(content: &str) -> RawExpression
[src]
Trait Implementations
impl<T> ToIsPredicate<T> for RawExpression where
T: ToPredicateValue + Clone + 'static,
[src]
T: ToPredicateValue + Clone + 'static,
fn is<B: ToExpression<T> + ToPredicateValue + Clone + 'static>(
&self,
val: B
) -> SharedPredicate
[src]
&self,
val: B
) -> SharedPredicate
impl ToIsNullPredicate for RawExpression
[src]
fn is_null(&self) -> SharedPredicate
[src]
fn not_null(&self) -> SharedPredicate
[src]
impl<T> ToInPredicate<T> for RawExpression where
T: ToPredicateValue + Clone + 'static,
[src]
T: ToPredicateValue + Clone + 'static,
fn in_<B: ToListExpression<T> + ToPredicateValue + Clone + 'static>(
&self,
val: B
) -> SharedPredicate
[src]
&self,
val: B
) -> SharedPredicate
impl ToInRangePredicate<RawExpression> for RawExpression
[src]
fn in_range<B1, B2>(&self, from: B1, to: B2) -> SharedPredicate where
B1: ToExpression<RawExpression> + ToPredicateValue + Clone + 'static,
B2: ToExpression<RawExpression> + ToPredicateValue + Clone + 'static,
[src]
B1: ToExpression<RawExpression> + ToPredicateValue + Clone + 'static,
B2: ToExpression<RawExpression> + ToPredicateValue + Clone + 'static,
fn in_range_exclude_left<B1, B2>(&self, from: B1, to: B2) -> SharedPredicate where
B1: ToExpression<RawExpression> + ToPredicateValue + Clone + 'static,
B2: ToExpression<RawExpression> + ToPredicateValue + Clone + 'static,
[src]
B1: ToExpression<RawExpression> + ToPredicateValue + Clone + 'static,
B2: ToExpression<RawExpression> + ToPredicateValue + Clone + 'static,
fn in_range_exclude_right<B1, B2>(&self, from: B1, to: B2) -> SharedPredicate where
B1: ToExpression<RawExpression> + ToPredicateValue + Clone + 'static,
B2: ToExpression<RawExpression> + ToPredicateValue + Clone + 'static,
[src]
B1: ToExpression<RawExpression> + ToPredicateValue + Clone + 'static,
B2: ToExpression<RawExpression> + ToPredicateValue + Clone + 'static,
fn in_range_exclude<B1, B2>(&self, from: B1, to: B2) -> SharedPredicate where
B1: ToExpression<RawExpression> + ToPredicateValue + Clone + 'static,
B2: ToExpression<RawExpression> + ToPredicateValue + Clone + 'static,
[src]
B1: ToExpression<RawExpression> + ToPredicateValue + Clone + 'static,
B2: ToExpression<RawExpression> + ToPredicateValue + Clone + 'static,
impl ToInequalityPredicate<RawExpression> for RawExpression
[src]
fn lt<B>(&self, val: B) -> SharedPredicate where
B: ToExpression<RawExpression> + ToPredicateValue + Clone + 'static,
[src]
B: ToExpression<RawExpression> + ToPredicateValue + Clone + 'static,
fn lte<B>(&self, val: B) -> SharedPredicate where
B: ToExpression<RawExpression> + ToPredicateValue + Clone + 'static,
[src]
B: ToExpression<RawExpression> + ToPredicateValue + Clone + 'static,
fn gt<B>(&self, val: B) -> SharedPredicate where
B: ToExpression<RawExpression> + ToPredicateValue + Clone + 'static,
[src]
B: ToExpression<RawExpression> + ToPredicateValue + Clone + 'static,
fn gte<B>(&self, val: B) -> SharedPredicate where
B: ToExpression<RawExpression> + ToPredicateValue + Clone + 'static,
[src]
B: ToExpression<RawExpression> + ToPredicateValue + Clone + 'static,
impl ToLikePredicate<String> for RawExpression
[src]
fn like<B>(&self, val: B) -> SharedPredicate where
B: ToExpression<String> + ToPredicateValue + Clone + 'static,
[src]
B: ToExpression<String> + ToPredicateValue + Clone + 'static,
fn ilike<B>(&self, val: B) -> SharedPredicate where
B: ToExpression<String> + ToPredicateValue + Clone + 'static,
[src]
B: ToExpression<String> + ToPredicateValue + Clone + 'static,
impl ToFieldUpdate<RawExpression, RawExpression> for RawExpression
[src]
fn set<B: ToExpression<RawExpression>>(
&self,
val: &B
) -> FieldUpdate<RawExpression, RawExpression>
[src]
&self,
val: &B
) -> FieldUpdate<RawExpression, RawExpression>
fn set_default(&self) -> FieldUpdate<RawExpression, RawExpression>
[src]
impl ToPredicateValue for RawExpression
[src]
fn to_predicate_value(&self, _ctx: &mut SqlContext) -> String
[src]
impl ToSql for RawExpression
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl Clone for RawExpression
[src]
fn clone(&self) -> RawExpression
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for RawExpression
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more