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: boolif_not_exists: boolfunc: FunctionSignaturestate_modifying_fn: FunctionNamestate_value_type: CqlTypefinal_fn: Option<FunctionName>init_condition: Option<Term>Trait Implementations
sourceimpl Clone for CreateAggregateFunctionStatement
impl Clone for CreateAggregateFunctionStatement
sourcefn clone(&self) -> CreateAggregateFunctionStatement
fn clone(&self) -> CreateAggregateFunctionStatement
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 CreateAggregateFunctionStatement
impl<'a> CustomToTokens<'a> for CreateAggregateFunctionStatement
fn to_tokens(&'a self, tokens: &mut TokenStream)
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<CreateAggregateFunctionStatement> for Statement
impl From<CreateAggregateFunctionStatement> for Statement
sourcefn from(v: CreateAggregateFunctionStatement) -> Self
fn from(v: CreateAggregateFunctionStatement) -> Self
Converts to this type from the input type.
sourceimpl Parse for CreateAggregateFunctionStatement
impl Parse for CreateAggregateFunctionStatement
type Output = CreateAggregateFunctionStatement
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
sourceimpl PartialEq<CreateAggregateFunctionStatement> for CreateAggregateFunctionStatement
impl PartialEq<CreateAggregateFunctionStatement> for CreateAggregateFunctionStatement
sourcefn eq(&self, other: &CreateAggregateFunctionStatement) -> bool
fn eq(&self, other: &CreateAggregateFunctionStatement) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CreateAggregateFunctionStatement) -> bool
fn ne(&self, other: &CreateAggregateFunctionStatement) -> bool
This method tests for !=.
sourceimpl ToTokens for CreateAggregateFunctionStatement
impl ToTokens for CreateAggregateFunctionStatement
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 CreateAggregateFunctionStatement
impl StructuralEq for CreateAggregateFunctionStatement
impl StructuralPartialEq for CreateAggregateFunctionStatement
Auto Trait Implementations
impl RefUnwindSafe for CreateAggregateFunctionStatement
impl Send for CreateAggregateFunctionStatement
impl Sync for CreateAggregateFunctionStatement
impl Unpin for CreateAggregateFunctionStatement
impl UnwindSafe for CreateAggregateFunctionStatement
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