pub enum PostgresSqlExpressionRoot {
Show 15 variants
ColumnReference {
name: PostgresSqlName,
},
FunctionCall {
name: PostgresSqlName,
arguments: Vec<PostgresSqlCallArgument>,
arguments_complete: bool,
syntax: PostgresSqlFunctionSyntax,
modifiers: Vec<String>,
},
Parenthesized {
expression: Box<PostgresSqlExpressionRoot>,
},
Cast {
data_type: String,
data_type_facts: PostgresSqlType,
expression: Box<PostgresSqlExpressionRoot>,
},
NullTest {
negated: bool,
},
Distinctness {
negated: bool,
},
Parameter {
placeholder: String,
},
TypedLiteral {
data_type: String,
value: String,
sql: String,
},
Literal {
sql: String,
value: PostgresSqlLiteralValue,
},
Binary {
operator: String,
},
Unary {
operator: String,
expression: Box<PostgresSqlExpressionRoot>,
},
Array,
Case,
Subquery,
Other,
}Expand description
Typed syntactic root. Wrappers remain explicit; nested references never imply a root call.
Variants§
ColumnReference
Fields
§
name: PostgresSqlNameFunctionCall
Fields
§
name: PostgresSqlName§
arguments: Vec<PostgresSqlCallArgument>§
syntax: PostgresSqlFunctionSyntaxBare SQL value functions have no parentheses, unlike ordinary calls.
Parenthesized
Fields
§
expression: Box<PostgresSqlExpressionRoot>Cast
NullTest
Distinctness
Parameter
TypedLiteral
Literal
Binary
Unary
Array
Case
Subquery
Other
Trait Implementations§
Source§impl Clone for PostgresSqlExpressionRoot
impl Clone for PostgresSqlExpressionRoot
Source§impl Debug for PostgresSqlExpressionRoot
impl Debug for PostgresSqlExpressionRoot
impl Eq for PostgresSqlExpressionRoot
impl StructuralPartialEq for PostgresSqlExpressionRoot
Auto Trait Implementations§
impl Forget for PostgresSqlExpressionRoot
impl Freeze for PostgresSqlExpressionRootwhere
*const u8 is !null: Freeze,
PhantomData<PostgresSqlIdentifier>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<PostgresSqlCallArgument>: Freeze,
PhantomData<String>: Freeze,
*const PostgresSqlExpressionRoot is !null: Freeze,
PhantomData<PostgresSqlExpressionRoot>: Freeze,
PhantomData<Option<u64>>: Freeze,
PhantomData<PostgresSqlColumn>: Freeze,
impl Move for PostgresSqlExpressionRoot
impl RefUnwindSafe for PostgresSqlExpressionRoot
impl Send for PostgresSqlExpressionRoot
impl Sync for PostgresSqlExpressionRoot
impl Unpin for PostgresSqlExpressionRoot
impl UnsafeUnpin for PostgresSqlExpressionRootwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<PostgresSqlIdentifier>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<PostgresSqlCallArgument>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const PostgresSqlExpressionRoot is !null: UnsafeUnpin,
PhantomData<PostgresSqlExpressionRoot>: UnsafeUnpin,
PhantomData<Option<u64>>: UnsafeUnpin,
PhantomData<PostgresSqlColumn>: UnsafeUnpin,
impl UnwindSafe for PostgresSqlExpressionRoot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more