pub enum SqlExpressionKind {
Identifier(SqlIdentifier),
Column(SqlColumnRef),
Value(SqlValue),
Parameter(SqlParameter),
Operator {
left: Box<SqlExpression>,
operator: SqlOperator,
right: Box<SqlExpression>,
},
Predicate(Box<SqlPredicate>),
}Expand description
Lightweight SQL expression kinds.
Variants§
Identifier(SqlIdentifier)
Column(SqlColumnRef)
Value(SqlValue)
Parameter(SqlParameter)
Operator
Predicate(Box<SqlPredicate>)
Trait Implementations§
Source§impl Clone for SqlExpressionKind
impl Clone for SqlExpressionKind
Source§fn clone(&self) -> SqlExpressionKind
fn clone(&self) -> SqlExpressionKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SqlExpressionKind
impl Debug for SqlExpressionKind
Source§impl Hash for SqlExpressionKind
impl Hash for SqlExpressionKind
Source§impl Ord for SqlExpressionKind
impl Ord for SqlExpressionKind
Source§fn cmp(&self, other: &SqlExpressionKind) -> Ordering
fn cmp(&self, other: &SqlExpressionKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SqlExpressionKind
impl PartialEq for SqlExpressionKind
Source§fn eq(&self, other: &SqlExpressionKind) -> bool
fn eq(&self, other: &SqlExpressionKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SqlExpressionKind
impl PartialOrd for SqlExpressionKind
impl Eq for SqlExpressionKind
impl StructuralPartialEq for SqlExpressionKind
Auto Trait Implementations§
impl Freeze for SqlExpressionKind
impl RefUnwindSafe for SqlExpressionKind
impl Send for SqlExpressionKind
impl Sync for SqlExpressionKind
impl Unpin for SqlExpressionKind
impl UnsafeUnpin for SqlExpressionKind
impl UnwindSafe for SqlExpressionKind
Blanket Implementations§
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