pub struct TaggedCreateFunctionStatement {
pub or_replace: bool,
pub if_not_exists: bool,
pub func: Tag<FunctionDeclaration>,
pub on_null_input: Tag<OnNullInput>,
pub return_type: Tag<CqlType>,
pub language: Tag<Name>,
pub body: Tag<LitStr>,
}
Fields§
§or_replace: bool
§if_not_exists: bool
§func: Tag<FunctionDeclaration>
§on_null_input: Tag<OnNullInput>
§return_type: Tag<CqlType>
§language: Tag<Name>
§body: Tag<LitStr>
Trait Implementations§
Source§impl Clone for TaggedCreateFunctionStatement
impl Clone for TaggedCreateFunctionStatement
Source§fn clone(&self) -> TaggedCreateFunctionStatement
fn clone(&self) -> TaggedCreateFunctionStatement
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 TaggedCreateFunctionStatement
impl<'a> CustomToTokens<'a> for TaggedCreateFunctionStatement
Source§impl From<TaggedCreateFunctionStatement> for TaggedStatement
impl From<TaggedCreateFunctionStatement> for TaggedStatement
Source§fn from(v: TaggedCreateFunctionStatement) -> Self
fn from(v: TaggedCreateFunctionStatement) -> Self
Converts to this type from the input type.
Source§impl From<TaggedCreateFunctionStatement> for TaggedUserDefinedFunctionStatement
impl From<TaggedCreateFunctionStatement> for TaggedUserDefinedFunctionStatement
Source§fn from(
original: TaggedCreateFunctionStatement,
) -> TaggedUserDefinedFunctionStatement
fn from( original: TaggedCreateFunctionStatement, ) -> TaggedUserDefinedFunctionStatement
Converts to this type from the input type.
Source§impl Parse for TaggedCreateFunctionStatement
impl Parse for TaggedCreateFunctionStatement
type Output = TaggedCreateFunctionStatement
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
Source§impl PartialEq for TaggedCreateFunctionStatement
impl PartialEq for TaggedCreateFunctionStatement
Source§fn eq(&self, other: &TaggedCreateFunctionStatement) -> bool
fn eq(&self, other: &TaggedCreateFunctionStatement) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl ToTokens for TaggedCreateFunctionStatement
impl ToTokens for TaggedCreateFunctionStatement
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 TaggedCreateFunctionStatement
impl StructuralPartialEq for TaggedCreateFunctionStatement
Auto Trait Implementations§
impl Freeze for TaggedCreateFunctionStatement
impl RefUnwindSafe for TaggedCreateFunctionStatement
impl Send for TaggedCreateFunctionStatement
impl Sync for TaggedCreateFunctionStatement
impl Unpin for TaggedCreateFunctionStatement
impl UnwindSafe for TaggedCreateFunctionStatement
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