pub struct TaggedCreateFunctionStatementBuilder { /* private fields */ }
Expand description
Builder for TaggedCreateFunctionStatement
.
Implementations§
Source§impl TaggedCreateFunctionStatementBuilder
impl TaggedCreateFunctionStatementBuilder
pub fn set_or_replace(&mut self, value: bool) -> &mut Self
pub fn set_if_not_exists(&mut self, value: bool) -> &mut Self
pub fn func(&mut self, value: Tag<FunctionDeclaration>) -> &mut Self
pub fn on_null_input(&mut self, value: Tag<OnNullInput>) -> &mut Self
pub fn return_type(&mut self, value: Tag<CqlType>) -> &mut Self
pub fn language(&mut self, value: Tag<Name>) -> &mut Self
pub fn body(&mut self, value: Tag<LitStr>) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<TaggedCreateFunctionStatement, TaggedCreateFunctionStatementBuilderError>
pub fn build( &self, ) -> Result<TaggedCreateFunctionStatement, TaggedCreateFunctionStatementBuilderError>
Trait Implementations§
Source§impl Clone for TaggedCreateFunctionStatementBuilder
impl Clone for TaggedCreateFunctionStatementBuilder
Source§fn clone(&self) -> TaggedCreateFunctionStatementBuilder
fn clone(&self) -> TaggedCreateFunctionStatementBuilder
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 moreAuto Trait Implementations§
impl Freeze for TaggedCreateFunctionStatementBuilder
impl RefUnwindSafe for TaggedCreateFunctionStatementBuilder
impl Send for TaggedCreateFunctionStatementBuilder
impl Sync for TaggedCreateFunctionStatementBuilder
impl Unpin for TaggedCreateFunctionStatementBuilder
impl UnwindSafe for TaggedCreateFunctionStatementBuilder
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