pub struct OdbcRow { /* private fields */ }Available on crate feature
odbc only.Trait Implementationsยง
Sourceยงimpl ColumnIndex<OdbcRow> for &str
impl ColumnIndex<OdbcRow> for &str
Sourceยงfn index(&self, row: &OdbcRow) -> Result<usize, Error>
fn index(&self, row: &OdbcRow) -> Result<usize, Error>
Returns a valid positional index into the row or statement,
ColumnIndexOutOfBounds, or,
ColumnNotFound.Sourceยงimpl ColumnIndex<OdbcRow> for usize
impl ColumnIndex<OdbcRow> for usize
Sourceยงfn index(&self, row: &OdbcRow) -> Result<usize, Error>
fn index(&self, row: &OdbcRow) -> Result<usize, Error>
Returns a valid positional index into the row or statement,
ColumnIndexOutOfBounds, or,
ColumnNotFound.Sourceยงimpl Row for OdbcRow
impl Row for OdbcRow
type Database = Odbc
Sourceยงfn columns(&self) -> &[OdbcColumn]
fn columns(&self) -> &[OdbcColumn]
Gets all columns in this statement.
Sourceยงfn try_get_raw<I>(
&self,
index: I,
) -> Result<<<OdbcRow as Row>::Database as HasValueRef<'_>>::ValueRef, Error>where
I: ColumnIndex<OdbcRow>,
fn try_get_raw<I>(
&self,
index: I,
) -> Result<<<OdbcRow as Row>::Database as HasValueRef<'_>>::ValueRef, Error>where
I: ColumnIndex<OdbcRow>,
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 None 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 OdbcRow
impl RefUnwindSafe for OdbcRow
impl Send for OdbcRow
impl Sync for OdbcRow
impl Unpin for OdbcRow
impl UnwindSafe for OdbcRow
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<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