pub struct BatchBuilder {
pub transaction: bool,
/* private fields */
}
Fields§
§transaction: bool
Implementations§
Source§impl BatchBuilder
impl BatchBuilder
pub fn new() -> Self
Sourcepub fn transaction(self, bool: bool) -> Self
pub fn transaction(self, bool: bool) -> Self
Define whether the current batching is or not a transaction batching.
Sourcepub fn push<VERYNICEITEM: BatchingItem>(self, bin: VERYNICEITEM) -> Self
pub fn push<VERYNICEITEM: BatchingItem>(self, bin: VERYNICEITEM) -> Self
Insert a operation into the batching
pub fn finish(self) -> Result<CompiledAlba, Error>
pub fn cloned_finish(self) -> Result<CompiledAlba, Error>
Trait Implementations§
Source§impl Clone for BatchBuilder
impl Clone for BatchBuilder
Source§fn clone(&self) -> BatchBuilder
fn clone(&self) -> BatchBuilder
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 BatchBuilder
impl Debug for BatchBuilder
Source§impl Default for BatchBuilder
impl Default for BatchBuilder
Source§fn default() -> BatchBuilder
fn default() -> BatchBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BatchBuilder
impl RefUnwindSafe for BatchBuilder
impl Send for BatchBuilder
impl Sync for BatchBuilder
impl Unpin for BatchBuilder
impl UnwindSafe for BatchBuilder
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