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