pub struct CreateAggregateFunctionStatement {
pub or_replace: bool,
pub if_not_exists: bool,
pub func: FunctionSignature,
pub state_modifying_fn: FunctionName,
pub state_value_type: CqlType,
pub final_fn: Option<FunctionName>,
pub init_condition: Option<Term>,
}
Fields§
§or_replace: bool
§if_not_exists: bool
§func: FunctionSignature
§state_modifying_fn: FunctionName
§state_value_type: CqlType
§final_fn: Option<FunctionName>
§init_condition: Option<Term>
Trait Implementations§
Source§impl Clone for CreateAggregateFunctionStatement
impl Clone for CreateAggregateFunctionStatement
Source§fn clone(&self) -> CreateAggregateFunctionStatement
fn clone(&self) -> CreateAggregateFunctionStatement
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 CreateAggregateFunctionStatement
impl<'a> CustomToTokens<'a> for CreateAggregateFunctionStatement
Source§impl From<CreateAggregateFunctionStatement> for Statement
impl From<CreateAggregateFunctionStatement> for Statement
Source§fn from(v: CreateAggregateFunctionStatement) -> Self
fn from(v: CreateAggregateFunctionStatement) -> Self
Converts to this type from the input type.
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 Parse for CreateAggregateFunctionStatement
impl Parse for CreateAggregateFunctionStatement
type Output = CreateAggregateFunctionStatement
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
Source§impl PartialEq for CreateAggregateFunctionStatement
impl PartialEq for CreateAggregateFunctionStatement
Source§fn eq(&self, other: &CreateAggregateFunctionStatement) -> bool
fn eq(&self, other: &CreateAggregateFunctionStatement) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl ToTokens for CreateAggregateFunctionStatement
impl ToTokens for CreateAggregateFunctionStatement
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 CreateAggregateFunctionStatement
impl StructuralPartialEq for CreateAggregateFunctionStatement
Auto Trait Implementations§
impl Freeze for CreateAggregateFunctionStatement
impl RefUnwindSafe for CreateAggregateFunctionStatement
impl Send for CreateAggregateFunctionStatement
impl Sync for CreateAggregateFunctionStatement
impl Unpin for CreateAggregateFunctionStatement
impl UnwindSafe for CreateAggregateFunctionStatement
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