pub struct RowAdder<'client> { /* private fields */ }
Expand description
An object returned by Client::add_rows
.
Implementations§
Source§impl<'client> RowAdder<'client>
impl<'client> RowAdder<'client>
Sourcepub fn row(&mut self, t: &NaiveDateTime, cols: &[&dyn FromValue])
pub fn row(&mut self, t: &NaiveDateTime, cols: &[&dyn FromValue])
Add a single row
Panics on error. Call row_checked
in order to test for failures.
pub fn row_checked( &mut self, t: &NaiveDateTime, cols: &[&dyn FromValue], ) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl<'client> Freeze for RowAdder<'client>
impl<'client> !RefUnwindSafe for RowAdder<'client>
impl<'client> !Send for RowAdder<'client>
impl<'client> !Sync for RowAdder<'client>
impl<'client> Unpin for RowAdder<'client>
impl<'client> !UnwindSafe for RowAdder<'client>
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