pub struct TableRow<T: Table> { /* private fields */ }Expand description
Row reference that can be used in any query in the same transaction.
TableRow is restricted to a single thread to prevent it from being used in a different transaction.
Trait Implementations§
Source§impl<T: Table<Conflict = Self>> Error for TableRow<T>
impl<T: Table<Conflict = Self>> Error for TableRow<T>
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl<T: Table> Ord for TableRow<T>
impl<T: Table> Ord for TableRow<T>
Source§impl<T: Table> PartialOrd for TableRow<T>
impl<T: Table> PartialOrd for TableRow<T>
Source§impl<T: Table> ToSql for TableRow<T>
This makes it possible to use TableRow as a parameter in
rusqlite queries and statements.
impl<T: Table> ToSql for TableRow<T>
This makes it possible to use TableRow as a parameter in rusqlite queries and statements.
Source§fn to_sql(&self) -> Result<ToSqlOutput<'_>>
fn to_sql(&self) -> Result<ToSqlOutput<'_>>
Converts Rust value to SQLite value
impl<T: Table> Copy for TableRow<T>
impl<T: Table> Eq for TableRow<T>
Auto Trait Implementations§
impl<T> Freeze for TableRow<T>
impl<T> RefUnwindSafe for TableRow<T>where
T: RefUnwindSafe,
impl<T> !Send for TableRow<T>
impl<T> !Sync for TableRow<T>
impl<T> Unpin for TableRow<T>where
T: Unpin,
impl<T> UnsafeUnpin for TableRow<T>
impl<T> UnwindSafe for TableRow<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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.