pub struct BatchStatementBuilder { /* private fields */ }
Expand description
Builder for BatchStatement
.
Implementations§
Source§impl BatchStatementBuilder
impl BatchStatementBuilder
pub fn kind(&mut self, value: BatchKind) -> &mut Self
pub fn using(&mut self, value: Vec<UpdateParameter>) -> &mut Self
pub fn statements(&mut self, value: Vec<ModificationStatement>) -> &mut Self
Sourcepub fn build(&self) -> Result<BatchStatement, BatchStatementBuilderError>
pub fn build(&self) -> Result<BatchStatement, BatchStatementBuilderError>
Source§impl BatchStatementBuilder
impl BatchStatementBuilder
pub fn parse_statement(&mut self, statement: &str) -> Result<&mut Self>
pub fn statement(&mut self, statement: ModificationStatement) -> &mut Self
pub fn insert(&mut self, statement: InsertStatement) -> &mut Self
pub fn update(&mut self, statement: UpdateStatement) -> &mut Self
pub fn delete(&mut self, statement: DeleteStatement) -> &mut Self
Trait Implementations§
Source§impl Clone for BatchStatementBuilder
impl Clone for BatchStatementBuilder
Source§fn clone(&self) -> BatchStatementBuilder
fn clone(&self) -> BatchStatementBuilder
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 BatchStatementBuilder
impl RefUnwindSafe for BatchStatementBuilder
impl Send for BatchStatementBuilder
impl Sync for BatchStatementBuilder
impl Unpin for BatchStatementBuilder
impl UnwindSafe for BatchStatementBuilder
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