pub struct SqlFunctionCallRef<'a> {
pub name: &'a str,
pub args: SqlFunctionArgsRef<'a>,
pub distinct: bool,
pub order_by: &'a [OrderingTerm],
pub filter: Option<&'a Expr>,
pub over: Option<&'a WindowSpec>,
}Expand description
A borrowed semantic view of an expression that invokes a SQL function.
This view normalizes ordinary Expr::FunctionCall nodes and JSON access
operators while retaining the metadata that applies only to explicit
function-call syntax.
Fields§
§name: &'a strFunction name used for registry lookup.
args: SqlFunctionArgsRef<'a>Borrowed function arguments.
distinct: boolWhether the explicit call uses DISTINCT.
order_by: &'a [OrderingTerm]In-aggregate ORDER BY terms.
filter: Option<&'a Expr>Optional aggregate filter expression.
over: Option<&'a WindowSpec>Optional window specification.
Trait Implementations§
Source§impl<'a> Clone for SqlFunctionCallRef<'a>
impl<'a> Clone for SqlFunctionCallRef<'a>
Source§fn clone(&self) -> SqlFunctionCallRef<'a>
fn clone(&self) -> SqlFunctionCallRef<'a>
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 moreimpl<'a> Copy for SqlFunctionCallRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for SqlFunctionCallRef<'a>
impl<'a> RefUnwindSafe for SqlFunctionCallRef<'a>
impl<'a> Send for SqlFunctionCallRef<'a>
impl<'a> Sync for SqlFunctionCallRef<'a>
impl<'a> Unpin for SqlFunctionCallRef<'a>
impl<'a> UnsafeUnpin for SqlFunctionCallRef<'a>
impl<'a> UnwindSafe for SqlFunctionCallRef<'a>
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