Struct sqlx_rqlite::row::RqliteRow
source · pub struct RqliteRow { /* private fields */ }Expand description
Implementation of Row for SQLite.
Trait Implementations§
source§impl ColumnIndex<RqliteRow> for &str
impl ColumnIndex<RqliteRow> for &str
source§fn index(&self, row: &RqliteRow) -> Result<usize, Error>
fn index(&self, row: &RqliteRow) -> Result<usize, Error>
Returns a valid positional index into the row or statement,
ColumnIndexOutOfBounds, or,
ColumnNotFound.source§impl ColumnIndex<RqliteRow> for usize
impl ColumnIndex<RqliteRow> for usize
source§fn index(&self, row: &RqliteRow) -> Result<usize, Error>
fn index(&self, row: &RqliteRow) -> Result<usize, Error>
Returns a valid positional index into the row or statement,
ColumnIndexOutOfBounds, or,
ColumnNotFound.source§impl Row for RqliteRow
impl Row for RqliteRow
type Database = Rqlite
source§fn columns(&self) -> &[RqliteColumn]
fn columns(&self) -> &[RqliteColumn]
Gets all columns in this statement.
source§fn try_get_raw<I>(&self, index: I) -> Result<RqliteValueRef<'_>, Error>where
I: ColumnIndex<Self>,
fn try_get_raw<I>(&self, index: I) -> Result<RqliteValueRef<'_>, Error>where
I: ColumnIndex<Self>,
Index into the database row and decode a single value. Read more
source§fn column<I>(&self, index: I) -> &<Self::Database as Database>::Columnwhere
I: ColumnIndex<Self>,
fn column<I>(&self, index: I) -> &<Self::Database as Database>::Columnwhere
I: ColumnIndex<Self>,
Gets the column information at
index. Read moresource§fn try_column<I>(
&self,
index: I
) -> Result<&<Self::Database as Database>::Column, Error>where
I: ColumnIndex<Self>,
fn try_column<I>(
&self,
index: I
) -> Result<&<Self::Database as Database>::Column, Error>where
I: ColumnIndex<Self>,
Gets the column information at
index or a ColumnIndexOutOfBounds error if out of bounds.source§fn get<'r, T, I>(&'r self, index: I) -> T
fn get<'r, T, I>(&'r self, index: I) -> T
Index into the database row and decode a single value. Read more
source§fn get_unchecked<'r, T, I>(&'r self, index: I) -> T
fn get_unchecked<'r, T, I>(&'r self, index: I) -> T
Index into the database row and decode a single value. Read more
source§fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>
fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error>
Index into the database row and decode a single value. Read more
Auto Trait Implementations§
impl Freeze for RqliteRow
impl RefUnwindSafe for RqliteRow
impl Send for RqliteRow
impl Sync for RqliteRow
impl Unpin for RqliteRow
impl UnwindSafe for RqliteRow
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