pub struct CreateFunction {
pub or_replace: bool,
pub temporary: bool,
pub aggregate: bool,
pub if_not_exists: bool,
pub name: ObjectName,
pub params: Vec<FunctionParam>,
pub returns: Option<DataType>,
pub determinism: Option<bool>,
pub language: Option<Ident>,
pub options: Vec<SqlOption>,
pub body: FunctionBody,
}Fields§
§or_replace: bool§temporary: bool§aggregate: bool§if_not_exists: bool§name: ObjectName§params: Vec<FunctionParam>§returns: Option<DataType>§determinism: Option<bool>§language: Option<Ident>§options: Vec<SqlOption>§body: FunctionBodyTrait Implementations§
Source§impl Clone for CreateFunction
impl Clone for CreateFunction
Source§impl Debug for CreateFunction
impl Debug for CreateFunction
Source§impl<'de> Deserialize<'de> for CreateFunction
impl<'de> Deserialize<'de> for CreateFunction
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 CreateFunction
Source§impl Hash for CreateFunction
impl Hash for CreateFunction
Source§impl PartialEq for CreateFunction
impl PartialEq for CreateFunction
Source§impl Serialize for CreateFunction
impl Serialize for CreateFunction
impl StructuralPartialEq for CreateFunction
Auto Trait Implementations§
impl Forget for CreateFunction
impl Freeze for CreateFunctionwhere
*const u8 is !null: Freeze,
PhantomData<Ident>: Freeze,
PhantomData<FunctionParam>: Freeze,
*const DataType is !null: Freeze,
PhantomData<DataType>: Freeze,
PhantomData<StructField>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<SqlOption>: Freeze,
*const Expr is !null: Freeze,
PhantomData<Expr>: Freeze,
*const Query is !null: Freeze,
PhantomData<Query>: Freeze,
PhantomData<CaseWhen>: Freeze,
PhantomData<StructExprField>: Freeze,
*const Function is !null: Freeze,
PhantomData<Function>: Freeze,
PhantomData<(Ident, Expr)>: Freeze,
impl Move for CreateFunction
impl RefUnwindSafe for CreateFunction
impl Send for CreateFunction
impl Sync for CreateFunction
impl Unpin for CreateFunction
impl UnsafeUnpin for CreateFunctionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Ident>: UnsafeUnpin,
PhantomData<FunctionParam>: UnsafeUnpin,
*const DataType is !null: UnsafeUnpin,
PhantomData<DataType>: UnsafeUnpin,
PhantomData<StructField>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<SqlOption>: UnsafeUnpin,
*const Expr is !null: UnsafeUnpin,
PhantomData<Expr>: UnsafeUnpin,
*const Query is !null: UnsafeUnpin,
PhantomData<Query>: UnsafeUnpin,
PhantomData<CaseWhen>: UnsafeUnpin,
PhantomData<StructExprField>: UnsafeUnpin,
*const Function is !null: UnsafeUnpin,
PhantomData<Function>: UnsafeUnpin,
PhantomData<(Ident, Expr)>: UnsafeUnpin,
impl UnwindSafe for CreateFunctionwhere
RawVecInner: UnwindSafe,
BoxRaw<DataType>: UnwindSafe,
BoxRaw<Expr>: 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.