pub struct TableRow<'t, T> { /* private fields */ }
Expand description
Row reference that can be used in any query in the same transaction.
TableRow is covariant in 't
and restricted to a single thread to prevent it from being used in a different transaction.
Trait Implementations§
Source§impl<T> FromSql for TableRow<'_, T>
impl<T> FromSql for TableRow<'_, T>
Source§fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
Converts SQLite value into Rust value.
Source§impl<'t, T: Table> IntoColumn<'t, <T as Table>::Schema> for TableRow<'_, T>
impl<'t, T: Table> IntoColumn<'t, <T as Table>::Schema> for TableRow<'_, T>
Source§fn into_column(self) -> Column<'t, S, Self::Typ>
fn into_column(self) -> Column<'t, S, Self::Typ>
Turn this value into a Column.
impl<T> Copy for TableRow<'_, T>
Auto Trait Implementations§
impl<'t, T> Freeze for TableRow<'t, T>
impl<'t, T> !RefUnwindSafe for TableRow<'t, T>
impl<'t, T> !Send for TableRow<'t, T>
impl<'t, T> !Sync for TableRow<'t, T>
impl<'t, T> Unpin for TableRow<'t, T>
impl<'t, T> !UnwindSafe for TableRow<'t, T>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)