pub struct UpsertRowArgsBuilder<T> { /* private fields */ }Expand description
Builder for UpsertRowArgs.
Implementations§
Source§impl<T: Clone> UpsertRowArgsBuilder<T>
impl<T: Clone> UpsertRowArgsBuilder<T>
pub fn database<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn table<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn rows<VALUE: Into<Vec<T>>>(&mut self, value: VALUE) -> &mut Self
pub fn rows<VALUE: Into<Vec<T>>>(&mut self, value: VALUE) -> &mut Self
The inserted dataset supports a maximum of 1000 entries per batch
Sourcepub fn build(&self) -> Result<UpsertRowArgs<T>, UpsertRowArgsBuilderError>
pub fn build(&self) -> Result<UpsertRowArgs<T>, UpsertRowArgsBuilderError>
Trait Implementations§
Source§impl<T: Clone> Clone for UpsertRowArgsBuilder<T>
impl<T: Clone> Clone for UpsertRowArgsBuilder<T>
Source§fn clone(&self) -> UpsertRowArgsBuilder<T>
fn clone(&self) -> UpsertRowArgsBuilder<T>
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 moreAuto Trait Implementations§
impl<T> Freeze for UpsertRowArgsBuilder<T>
impl<T> RefUnwindSafe for UpsertRowArgsBuilder<T>where
T: RefUnwindSafe,
impl<T> Send for UpsertRowArgsBuilder<T>where
T: Send,
impl<T> Sync for UpsertRowArgsBuilder<T>where
T: Sync,
impl<T> Unpin for UpsertRowArgsBuilder<T>where
T: Unpin,
impl<T> UnwindSafe for UpsertRowArgsBuilder<T>where
T: UnwindSafe,
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