pub enum UserDefinedFunctionStatement {
Create(CreateFunctionStatement),
Drop(DropFunctionStatement),
CreateAggregate(CreateAggregateFunctionStatement),
DropAggregate(DropAggregateFunctionStatement),
}
Variants§
Create(CreateFunctionStatement)
Drop(DropFunctionStatement)
CreateAggregate(CreateAggregateFunctionStatement)
DropAggregate(DropAggregateFunctionStatement)
Trait Implementations§
Source§impl Clone for UserDefinedFunctionStatement
impl Clone for UserDefinedFunctionStatement
Source§fn clone(&self) -> UserDefinedFunctionStatement
fn clone(&self) -> UserDefinedFunctionStatement
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> CustomToTokens<'a> for UserDefinedFunctionStatement
impl<'a> CustomToTokens<'a> for UserDefinedFunctionStatement
Source§impl Debug for UserDefinedFunctionStatement
impl Debug for UserDefinedFunctionStatement
Source§impl From<CreateAggregateFunctionStatement> for UserDefinedFunctionStatement
impl From<CreateAggregateFunctionStatement> for UserDefinedFunctionStatement
Source§fn from(
original: CreateAggregateFunctionStatement,
) -> UserDefinedFunctionStatement
fn from( original: CreateAggregateFunctionStatement, ) -> UserDefinedFunctionStatement
Converts to this type from the input type.
Source§impl From<CreateFunctionStatement> for UserDefinedFunctionStatement
impl From<CreateFunctionStatement> for UserDefinedFunctionStatement
Source§fn from(original: CreateFunctionStatement) -> UserDefinedFunctionStatement
fn from(original: CreateFunctionStatement) -> UserDefinedFunctionStatement
Converts to this type from the input type.
Source§impl From<DropAggregateFunctionStatement> for UserDefinedFunctionStatement
impl From<DropAggregateFunctionStatement> for UserDefinedFunctionStatement
Source§fn from(
original: DropAggregateFunctionStatement,
) -> UserDefinedFunctionStatement
fn from( original: DropAggregateFunctionStatement, ) -> UserDefinedFunctionStatement
Converts to this type from the input type.
Source§impl From<DropFunctionStatement> for UserDefinedFunctionStatement
impl From<DropFunctionStatement> for UserDefinedFunctionStatement
Source§fn from(original: DropFunctionStatement) -> UserDefinedFunctionStatement
fn from(original: DropFunctionStatement) -> UserDefinedFunctionStatement
Converts to this type from the input type.
Source§impl From<UserDefinedFunctionStatement> for Statement
impl From<UserDefinedFunctionStatement> for Statement
Source§fn from(original: UserDefinedFunctionStatement) -> Statement
fn from(original: UserDefinedFunctionStatement) -> Statement
Converts to this type from the input type.
Source§impl Parse for UserDefinedFunctionStatement
impl Parse for UserDefinedFunctionStatement
type Output = UserDefinedFunctionStatement
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
Source§impl PartialEq for UserDefinedFunctionStatement
impl PartialEq for UserDefinedFunctionStatement
Source§fn eq(&self, other: &UserDefinedFunctionStatement) -> bool
fn eq(&self, other: &UserDefinedFunctionStatement) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl ToTokens for UserDefinedFunctionStatement
impl ToTokens for UserDefinedFunctionStatement
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
impl Eq for UserDefinedFunctionStatement
impl StructuralPartialEq for UserDefinedFunctionStatement
Auto Trait Implementations§
impl Freeze for UserDefinedFunctionStatement
impl RefUnwindSafe for UserDefinedFunctionStatement
impl Send for UserDefinedFunctionStatement
impl Sync for UserDefinedFunctionStatement
impl Unpin for UserDefinedFunctionStatement
impl UnwindSafe for UserDefinedFunctionStatement
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