pub struct CreateTriggerStatementBuilder { /* private fields */ }Expand description
Builder for CreateTriggerStatement.
Implementations
sourceimpl CreateTriggerStatementBuilder
impl CreateTriggerStatementBuilder
pub fn set_if_not_exists(&mut self, value: bool) -> &mut Self
pub fn name<VALUE: Into<Name>>(&mut self, value: VALUE) -> &mut Self
pub fn table<VALUE: Into<KeyspaceQualifiedName>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn using<VALUE: Into<LitStr>>(&mut self, value: VALUE) -> &mut Self
sourcepub fn build(
&self
) -> Result<CreateTriggerStatement, CreateTriggerStatementBuilderError>
pub fn build(
&self
) -> Result<CreateTriggerStatement, CreateTriggerStatementBuilderError>
sourceimpl CreateTriggerStatementBuilder
impl CreateTriggerStatementBuilder
sourcepub fn if_not_exists(&mut self) -> &mut Self
pub fn if_not_exists(&mut self) -> &mut Self
Set IF NOT EXISTS on the statement.
To undo this, use set_if_not_exists(false).
Trait Implementations
sourceimpl Clone for CreateTriggerStatementBuilder
impl Clone for CreateTriggerStatementBuilder
sourcefn clone(&self) -> CreateTriggerStatementBuilder
fn clone(&self) -> CreateTriggerStatementBuilder
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
Auto Trait Implementations
impl RefUnwindSafe for CreateTriggerStatementBuilder
impl Send for CreateTriggerStatementBuilder
impl Sync for CreateTriggerStatementBuilder
impl Unpin for CreateTriggerStatementBuilder
impl UnwindSafe for CreateTriggerStatementBuilder
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