pub struct Function {
pub name: ObjectName,
pub args: Vec<FunctionArg>,
pub distinct: bool,
pub null_treatment: Option<NullTreatment>,
pub having: Option<HavingBound>,
pub order_by: Vec<OrderByExpr>,
pub limit: Option<Box<Expr>>,
pub over: Option<WindowType>,
pub no_parens: bool,
}Fields§
§name: ObjectName§args: Vec<FunctionArg>§distinct: bool§null_treatment: Option<NullTreatment>§having: Option<HavingBound>§order_by: Vec<OrderByExpr>§limit: Option<Box<Expr>>§over: Option<WindowType>§no_parens: boolWritten without parentheses (CURRENT_DATE).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Function
impl<'de> Deserialize<'de> for Function
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
impl Eq for Function
impl StructuralPartialEq for Function
Auto Trait Implementations§
impl Forget for Function
impl Freeze for Functionwhere
*const u8 is !null: Freeze,
PhantomData<Ident>: Freeze,
PhantomData<FunctionArg>: Freeze,
*const Expr is !null: Freeze,
PhantomData<Expr>: Freeze,
PhantomData<OrderByExpr>: Freeze,
PhantomData<u8>: Freeze,
impl Move for Function
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnsafeUnpin for Functionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Ident>: UnsafeUnpin,
PhantomData<FunctionArg>: UnsafeUnpin,
*const Expr is !null: UnsafeUnpin,
PhantomData<Expr>: UnsafeUnpin,
PhantomData<OrderByExpr>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Functionwhere
RawVecInner: UnwindSafe,
BoxRaw<Expr>: UnwindSafe,
BoxRaw<DataType>: UnwindSafe,
BoxRaw<Query>: UnwindSafe,
BoxRaw<Function>: UnwindSafe,
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.