Struct sonnerie_api::RowAdder
source · pub struct RowAdder<'client> { /* private fields */ }
Expand description
An object returned by Client::add_rows
.
Implementations
sourceimpl<'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> !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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more