pub struct EditRowBuilder { /* private fields */ }
Implementations§
Source§impl EditRowBuilder
impl EditRowBuilder
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 EditRow
structure being built.
Sourcepub fn edit_column(self, column: String, new_value: AlbaTypes) -> Self
pub fn edit_column(self, column: String, new_value: AlbaTypes) -> Self
Set a change to the change list of the EditRow
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 EditRow
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 Search
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 Search
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 EditRowBuilder
impl Clone for EditRowBuilder
Source§fn clone(&self) -> EditRowBuilder
fn clone(&self) -> EditRowBuilder
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 EditRowBuilder
impl Debug for EditRowBuilder
Source§impl Default for EditRowBuilder
impl Default for EditRowBuilder
Source§fn default() -> EditRowBuilder
fn default() -> EditRowBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EditRowBuilder
impl RefUnwindSafe for EditRowBuilder
impl Send for EditRowBuilder
impl Sync for EditRowBuilder
impl Unpin for EditRowBuilder
impl UnwindSafe for EditRowBuilder
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