pub struct RusqliteRow<'a, 'stmt>(pub &'a Row<'stmt>);Expand description
SqlRow over a rusqlite row (a local newtype, for the orphan rule).
Tuple Fields§
§0: &'a Row<'stmt>Trait Implementations§
Source§impl SqlRow for RusqliteRow<'_, '_>
impl SqlRow for RusqliteRow<'_, '_>
fn get_value(&self, idx: usize) -> Result<SqlValue, SqlError>
fn column_count(&self) -> usize
fn get_i64(&self, idx: usize) -> Result<i64, SqlError>
fn get_bool(&self, idx: usize) -> Result<bool, SqlError>
fn get_text(&self, idx: usize) -> Result<String, SqlError>
fn get_opt_i64(&self, idx: usize) -> Result<Option<i64>, SqlError>
Auto Trait Implementations§
impl<'a, 'stmt> !RefUnwindSafe for RusqliteRow<'a, 'stmt>
impl<'a, 'stmt> !Send for RusqliteRow<'a, 'stmt>
impl<'a, 'stmt> !Sync for RusqliteRow<'a, 'stmt>
impl<'a, 'stmt> !UnwindSafe for RusqliteRow<'a, 'stmt>
impl<'a, 'stmt> Freeze for RusqliteRow<'a, 'stmt>
impl<'a, 'stmt> Unpin for RusqliteRow<'a, 'stmt>
impl<'a, 'stmt> UnsafeUnpin for RusqliteRow<'a, 'stmt>
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more