pub enum UserDefinedFunctionStatement {
Create(CreateFunctionStatement),
Drop(DropFunctionStatement),
CreateAggregate(CreateAggregateFunctionStatement),
DropAggregate(DropAggregateFunctionStatement),
}Variants
Create(CreateFunctionStatement)
Drop(DropFunctionStatement)
CreateAggregate(CreateAggregateFunctionStatement)
DropAggregate(DropAggregateFunctionStatement)
Trait Implementations
sourceimpl Clone for UserDefinedFunctionStatement
impl Clone for UserDefinedFunctionStatement
sourcefn clone(&self) -> UserDefinedFunctionStatement
fn clone(&self) -> UserDefinedFunctionStatement
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'a> CustomToTokens<'a> for UserDefinedFunctionStatement
impl<'a> CustomToTokens<'a> for UserDefinedFunctionStatement
fn to_tokens(&'a self, tokens: &mut TokenStream)
sourceimpl Debug for UserDefinedFunctionStatement
impl Debug for UserDefinedFunctionStatement
sourceimpl From<CreateAggregateFunctionStatement> for UserDefinedFunctionStatement
impl From<CreateAggregateFunctionStatement> for UserDefinedFunctionStatement
sourcefn from(
original: CreateAggregateFunctionStatement
) -> UserDefinedFunctionStatement
fn from(
original: CreateAggregateFunctionStatement
) -> UserDefinedFunctionStatement
Converts to this type from the input type.
sourceimpl From<CreateFunctionStatement> for UserDefinedFunctionStatement
impl From<CreateFunctionStatement> for UserDefinedFunctionStatement
sourcefn from(original: CreateFunctionStatement) -> UserDefinedFunctionStatement
fn from(original: CreateFunctionStatement) -> UserDefinedFunctionStatement
Converts to this type from the input type.
sourceimpl From<DropAggregateFunctionStatement> for UserDefinedFunctionStatement
impl From<DropAggregateFunctionStatement> for UserDefinedFunctionStatement
sourcefn from(
original: DropAggregateFunctionStatement
) -> UserDefinedFunctionStatement
fn from(
original: DropAggregateFunctionStatement
) -> UserDefinedFunctionStatement
Converts to this type from the input type.
sourceimpl From<DropFunctionStatement> for UserDefinedFunctionStatement
impl From<DropFunctionStatement> for UserDefinedFunctionStatement
sourcefn from(original: DropFunctionStatement) -> UserDefinedFunctionStatement
fn from(original: DropFunctionStatement) -> UserDefinedFunctionStatement
Converts to this type from the input type.
sourceimpl From<UserDefinedFunctionStatement> for Statement
impl From<UserDefinedFunctionStatement> for Statement
sourcefn from(original: UserDefinedFunctionStatement) -> Statement
fn from(original: UserDefinedFunctionStatement) -> Statement
Converts to this type from the input type.
sourceimpl Parse for UserDefinedFunctionStatement
impl Parse for UserDefinedFunctionStatement
type Output = UserDefinedFunctionStatement
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
sourceimpl PartialEq<UserDefinedFunctionStatement> for UserDefinedFunctionStatement
impl PartialEq<UserDefinedFunctionStatement> for UserDefinedFunctionStatement
sourcefn eq(&self, other: &UserDefinedFunctionStatement) -> bool
fn eq(&self, other: &UserDefinedFunctionStatement) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &UserDefinedFunctionStatement) -> bool
fn ne(&self, other: &UserDefinedFunctionStatement) -> bool
This method tests for !=.
sourceimpl ToTokens for UserDefinedFunctionStatement
impl ToTokens for UserDefinedFunctionStatement
sourcefn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
Write self to the given TokenStream. Read more
sourcefn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Convert self directly into a TokenStream object. Read more
sourcefn into_token_stream(self) -> TokenStream
fn into_token_stream(self) -> TokenStream
Convert self directly into a TokenStream object. Read more
impl Eq for UserDefinedFunctionStatement
impl StructuralEq for UserDefinedFunctionStatement
impl StructuralPartialEq for UserDefinedFunctionStatement
Auto Trait Implementations
impl RefUnwindSafe for UserDefinedFunctionStatement
impl Send for UserDefinedFunctionStatement
impl Sync for UserDefinedFunctionStatement
impl Unpin for UserDefinedFunctionStatement
impl UnwindSafe for UserDefinedFunctionStatement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more