struct FunctionArgs {
name: ObjectName,
args: Vec<FunctionArg>,
order_by: Vec<OrderByExpr>,
over: Option<WindowType>,
filter: Option<Box<Expr>>,
null_treatment: Option<NullTreatment>,
distinct: bool,
within_group: Vec<OrderByExpr>,
function_without_parentheses: bool,
}Expand description
Arguments for a function call extracted from the SQL AST
Fields§
§name: ObjectNameFunction name
args: Vec<FunctionArg>Argument expressions
order_by: Vec<OrderByExpr>ORDER BY clause, if any
over: Option<WindowType>OVER clause, if any
filter: Option<Box<Expr>>FILTER clause, if any
null_treatment: Option<NullTreatment>NULL treatment clause, if any
distinct: boolDISTINCT
within_group: Vec<OrderByExpr>WITHIN GROUP clause, if any
function_without_parentheses: boolWas the function called without parenthesis, i.e. could this also be a column reference?
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FunctionArgs
impl RefUnwindSafe for FunctionArgs
impl Send for FunctionArgs
impl Sync for FunctionArgs
impl Unpin for FunctionArgs
impl UnwindSafe for FunctionArgs
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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