pub struct TursoRowRef<'a> { /* private fields */ }Expand description
A borrowed row from a Turso/libSQL query result.
Implementations§
Trait Implementations§
Source§impl<'a> RowLike for TursoRowRef<'a>
impl<'a> RowLike for TursoRowRef<'a>
Source§fn cell<'b>(&'b self, name: &str) -> Result<RowCell<'b>, RowError>
fn cell<'b>(&'b self, name: &str) -> Result<RowCell<'b>, RowError>
Extracts a cell by column name.
Source§fn get_typed<T>(&self, name: &str) -> Result<T, RowError>
fn get_typed<T>(&self, name: &str) -> Result<T, RowError>
Extracts a typed value by column name.
Source§fn try_get_typed<T>(&self, name: &str) -> Result<Option<T>, RowError>
fn try_get_typed<T>(&self, name: &str) -> Result<Option<T>, RowError>
Tries to extract a typed value by column name. Read more
Auto Trait Implementations§
impl<'a> Freeze for TursoRowRef<'a>
impl<'a> RefUnwindSafe for TursoRowRef<'a>
impl<'a> Send for TursoRowRef<'a>
impl<'a> Sync for TursoRowRef<'a>
impl<'a> Unpin for TursoRowRef<'a>
impl<'a> UnsafeUnpin for TursoRowRef<'a>
impl<'a> UnwindSafe for TursoRowRef<'a>
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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