pub struct SimpleCondition {
pub op: Op,
pub left: ValuePosition,
pub right: ValuePosition,
}Expand description
A single comparison (SimpleCondition, ast.ts:302-312). right is wire-typed
to exclude a column (Exclude<ValuePosition, ColumnReference>); the builder
validates “not a column” at its boundary.
Fields§
§op: Op§left: ValuePositionLHS — a value position (the fluent builder always emits a Column).
right: ValuePositionRHS — a Literal, never a Column (enforced in the builder).
Trait Implementations§
Source§impl Clone for SimpleCondition
impl Clone for SimpleCondition
Source§fn clone(&self) -> SimpleCondition
fn clone(&self) -> SimpleCondition
Returns a duplicate of the value. Read more
1.0.0 · 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 SimpleCondition
impl Debug for SimpleCondition
Source§impl<'de> Deserialize<'de> for SimpleCondition
impl<'de> Deserialize<'de> for SimpleCondition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SimpleCondition
impl PartialEq for SimpleCondition
Source§impl Serialize for SimpleCondition
impl Serialize for SimpleCondition
impl StructuralPartialEq for SimpleCondition
Auto Trait Implementations§
impl Freeze for SimpleCondition
impl RefUnwindSafe for SimpleCondition
impl Send for SimpleCondition
impl Sync for SimpleCondition
impl Unpin for SimpleCondition
impl UnsafeUnpin for SimpleCondition
impl UnwindSafe for SimpleCondition
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