pub struct SqlBooleanOr<S: SelectableTables, Lhs: SqlExpression<S, SqlType = SqlBool>, Rhs: SqlExpression<S, SqlType = SqlBool>> { /* private fields */ }Implementations§
Source§impl<S: SelectableTables, Lhs: SqlExpression<S, SqlType = SqlBool>, Rhs: SqlExpression<S, SqlType = SqlBool>> SqlBooleanOr<S, Lhs, Rhs>
impl<S: SelectableTables, Lhs: SqlExpression<S, SqlType = SqlBool>, Rhs: SqlExpression<S, SqlType = SqlBool>> SqlBooleanOr<S, Lhs, Rhs>
Trait Implementations§
Source§impl<S: SelectableTables, Lhs: SqlExpression<S, SqlType = SqlBool>, Rhs: SqlExpression<S, SqlType = SqlBool>> SqlExpression<S> for SqlBooleanOr<S, Lhs, Rhs>
impl<S: SelectableTables, Lhs: SqlExpression<S, SqlType = SqlBool>, Rhs: SqlExpression<S, SqlType = SqlBool>> SqlExpression<S> for SqlBooleanOr<S, Lhs, Rhs>
Source§const IS_AGGREGATE: bool
const IS_AGGREGATE: bool
Is this sql expression an aggregate expression?
Source§type SqlType = <Lhs as SqlExpression<S>>::SqlType
type SqlType = <Lhs as SqlExpression<S>>::SqlType
The sql type of this sql expresion.
Source§type RustType = <Lhs as SqlExpression<S>>::RustType
type RustType = <Lhs as SqlExpression<S>>::RustType
The rust type of this sql expression.
Source§fn write_sql_string<'s, 'a>(
&'s self,
f: &mut String,
parameter_binder: &mut ParameterBinder<'a>,
) -> Resultwhere
's: 'a,
fn write_sql_string<'s, 'a>(
&'s self,
f: &mut String,
parameter_binder: &mut ParameterBinder<'a>,
) -> Resultwhere
's: 'a,
Writes the sql expression as an sql string which can be evaluated by the
database.
Source§fn write_parenthesized_sql_string<'s, 'a>(
&'s self,
f: &mut String,
parameter_binder: &mut ParameterBinder<'a>,
) -> Resultwhere
's: 'a,
fn write_parenthesized_sql_string<'s, 'a>(
&'s self,
f: &mut String,
parameter_binder: &mut ParameterBinder<'a>,
) -> Resultwhere
's: 'a,
Writes the sql expression as an sql string surrounded by parentheses.
Source§fn equals<O: SqlExpression<S, SqlType = <Self as SqlExpression<S>>::SqlType>>(
self,
other: O,
) -> SqlConditionEq<S, Self, O>
fn equals<O: SqlExpression<S, SqlType = <Self as SqlExpression<S>>::SqlType>>( self, other: O, ) -> SqlConditionEq<S, Self, O>
Returns a condition which will be true if the given expression is equal
to this one.
Source§fn not_equals<O: SqlExpression<S, SqlType = <Self as SqlExpression<S>>::SqlType>>(
self,
other: O,
) -> SqlConditionNotEq<S, Self, O>
fn not_equals<O: SqlExpression<S, SqlType = <Self as SqlExpression<S>>::SqlType>>( self, other: O, ) -> SqlConditionNotEq<S, Self, O>
Returns a condition which will be true if the given expression is not
equal to this one.
Auto Trait Implementations§
impl<S, Lhs, Rhs> Freeze for SqlBooleanOr<S, Lhs, Rhs>
impl<S, Lhs, Rhs> RefUnwindSafe for SqlBooleanOr<S, Lhs, Rhs>
impl<S, Lhs, Rhs> Send for SqlBooleanOr<S, Lhs, Rhs>
impl<S, Lhs, Rhs> Sync for SqlBooleanOr<S, Lhs, Rhs>
impl<S, Lhs, Rhs> TypesNotEqual for SqlBooleanOr<S, Lhs, Rhs>
impl<S, Lhs, Rhs> Unpin for SqlBooleanOr<S, Lhs, Rhs>
impl<S, Lhs, Rhs> UnwindSafe for SqlBooleanOr<S, Lhs, Rhs>
Blanket Implementations§
Source§impl<S, Lhs, Rhs> BooleanAndableSqlExpression<S, Rhs> for Lhswhere
S: SelectableTables,
Lhs: SqlExpression<S, SqlType = SqlBool>,
Rhs: SqlExpression<S, SqlType = SqlBool>,
impl<S, Lhs, Rhs> BooleanAndableSqlExpression<S, Rhs> for Lhswhere
S: SelectableTables,
Lhs: SqlExpression<S, SqlType = SqlBool>,
Rhs: SqlExpression<S, SqlType = SqlBool>,
fn and(self, other: Rhs) -> SqlBooleanAnd<S, Self, Rhs>
Source§impl<S, Lhs, Rhs> BooleanOrableSqlExpression<S, Rhs> for Lhswhere
S: SelectableTables,
Lhs: SqlExpression<S, SqlType = SqlBool>,
Rhs: SqlExpression<S, SqlType = SqlBool>,
impl<S, Lhs, Rhs> BooleanOrableSqlExpression<S, Rhs> for Lhswhere
S: SelectableTables,
Lhs: SqlExpression<S, SqlType = SqlBool>,
Rhs: SqlExpression<S, SqlType = SqlBool>,
fn or(self, other: Rhs) -> SqlBooleanOr<S, Self, Rhs>
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<S, T> LikeableSqlExpression<S> for T
impl<S, T> LikeableSqlExpression<S> for T
Source§fn like<Rhs: SqlExpression<S, SqlType = SqlText>>(
self,
like_pattern: Rhs,
) -> SqlConditionLike<S, Self, Rhs>
fn like<Rhs: SqlExpression<S, SqlType = SqlText>>( self, like_pattern: Rhs, ) -> SqlConditionLike<S, Self, Rhs>
Returns a condition which will be true if this string matches the given
pattern. Read more
Source§fn not_like<Rhs: SqlExpression<S, SqlType = SqlText>>(
self,
like_pattern: Rhs,
) -> SqlConditionNotLike<S, Self, Rhs>
fn not_like<Rhs: SqlExpression<S, SqlType = SqlText>>( self, like_pattern: Rhs, ) -> SqlConditionNotLike<S, Self, Rhs>
Returns a condition which will be true if this string doesn’t match the
given pattern. Read more