pub struct DeleteRowBuilder { /* private fields */ }
Implementations§
Source§impl DeleteRowBuilder
impl DeleteRowBuilder
pub fn new() -> Self
Sourcepub fn put_container(self, container: String) -> Self
pub fn put_container(self, container: String) -> Self
Set the container to the DeleteRow
structure being built.
Sourcepub fn add_conditions(
self,
condition: (String, LogicalOperator, AlbaTypes),
logic: bool,
) -> Self
pub fn add_conditions( self, condition: (String, LogicalOperator, AlbaTypes), logic: bool, ) -> Self
Add a new condition to the condition chain of the DeleteRow
structure being built.
logic -> true = AND, false = OR
Sourcepub fn finish(self) -> Result<CompiledAlba, Error>
pub fn finish(self) -> Result<CompiledAlba, Error>
Finish the builder, returning the compiled DeleteRow
bytes in the CompiledAlba
type.
Sourcepub fn cloned_finish(&self) -> Result<CompiledAlba, Error>
pub fn cloned_finish(&self) -> Result<CompiledAlba, Error>
Finish the builder, returning the compiled DeleteRow
bytes in the CompiledAlba
type.
The difference between this method and the finish
is that by using this one you can compile multiple times to recicle the builder.
Trait Implementations§
Source§impl Clone for DeleteRowBuilder
impl Clone for DeleteRowBuilder
Source§fn clone(&self) -> DeleteRowBuilder
fn clone(&self) -> DeleteRowBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DeleteRowBuilder
impl Debug for DeleteRowBuilder
Source§impl Default for DeleteRowBuilder
impl Default for DeleteRowBuilder
Source§fn default() -> DeleteRowBuilder
fn default() -> DeleteRowBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeleteRowBuilder
impl RefUnwindSafe for DeleteRowBuilder
impl Send for DeleteRowBuilder
impl Sync for DeleteRowBuilder
impl Unpin for DeleteRowBuilder
impl UnwindSafe for DeleteRowBuilder
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