Struct sqlx_exasol::ExaRow
source · pub struct ExaRow { /* private fields */ }Expand description
Struct representing a result set row.
Implementations§
Trait Implementations§
source§impl ColumnIndex<ExaRow> for &str
impl ColumnIndex<ExaRow> for &str
source§fn index(&self, container: &ExaRow) -> Result<usize, SqlxError>
fn index(&self, container: &ExaRow) -> Result<usize, SqlxError>
Returns a valid positional index into the row or statement,
ColumnIndexOutOfBounds, or,
ColumnNotFound.source§impl ColumnIndex<ExaRow> for usize
impl ColumnIndex<ExaRow> for usize
source§fn index(&self, row: &ExaRow) -> Result<usize, Error>
fn index(&self, row: &ExaRow) -> Result<usize, Error>
Returns a valid positional index into the row or statement,
ColumnIndexOutOfBounds, or,
ColumnNotFound.source§impl Row for ExaRow
impl Row for ExaRow
type Database = Exasol
source§fn columns(&self) -> &[<Self::Database as Database>::Column]
fn columns(&self) -> &[<Self::Database as Database>::Column]
Gets all columns in this statement.
source§fn try_get_raw<I>(
&self,
index: I,
) -> Result<<Self::Database as Database>::ValueRef<'_>, SqlxError>where
I: ColumnIndex<Self>,
fn try_get_raw<I>(
&self,
index: I,
) -> Result<<Self::Database as Database>::ValueRef<'_>, SqlxError>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 ExaRow
impl RefUnwindSafe for ExaRow
impl Send for ExaRow
impl Sync for ExaRow
impl Unpin for ExaRow
impl UnwindSafe for ExaRow
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