pub struct CreateTableFunction {
pub or_replace: bool,
pub temporary: bool,
pub if_not_exists: bool,
pub name: ObjectName,
pub params: Vec<FunctionParam>,
pub returns: Option<Vec<StructField>>,
pub options: Vec<SqlOption>,
pub query: Box<Query>,
}Fields§
§or_replace: bool§temporary: bool§if_not_exists: bool§name: ObjectName§params: Vec<FunctionParam>§returns: Option<Vec<StructField>>§options: Vec<SqlOption>§query: Box<Query>Trait Implementations§
Source§impl Clone for CreateTableFunction
impl Clone for CreateTableFunction
Source§impl Debug for CreateTableFunction
impl Debug for CreateTableFunction
Source§impl<'de> Deserialize<'de> for CreateTableFunction
impl<'de> Deserialize<'de> for CreateTableFunction
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 CreateTableFunction
Source§impl Hash for CreateTableFunction
impl Hash for CreateTableFunction
Source§impl PartialEq for CreateTableFunction
impl PartialEq for CreateTableFunction
Source§impl Serialize for CreateTableFunction
impl Serialize for CreateTableFunction
impl StructuralPartialEq for CreateTableFunction
Auto Trait Implementations§
impl Forget for CreateTableFunction
impl Freeze for CreateTableFunctionwhere
*const u8 is !null: Freeze,
PhantomData<Ident>: Freeze,
PhantomData<FunctionParam>: Freeze,
PhantomData<StructField>: Freeze,
PhantomData<SqlOption>: Freeze,
*const Query is !null: Freeze,
PhantomData<Query>: Freeze,
impl Move for CreateTableFunction
impl RefUnwindSafe for CreateTableFunction
impl Send for CreateTableFunction
impl Sync for CreateTableFunction
impl Unpin for CreateTableFunction
impl UnsafeUnpin for CreateTableFunctionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Ident>: UnsafeUnpin,
PhantomData<FunctionParam>: UnsafeUnpin,
PhantomData<StructField>: UnsafeUnpin,
PhantomData<SqlOption>: UnsafeUnpin,
*const Query is !null: UnsafeUnpin,
PhantomData<Query>: UnsafeUnpin,
impl UnwindSafe for CreateTableFunctionwhere
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.