pub struct MssqlRow { /* private fields */ }
This is supported on crate feature
mssql
only.Trait Implementations
sourceimpl<'_> ColumnIndex<MssqlRow> for &'_ str
impl<'_> ColumnIndex<MssqlRow> for &'_ str
sourcefn index(&self, row: &MssqlRow) -> Result<usize, Error>
fn index(&self, row: &MssqlRow) -> Result<usize, Error>
Returns a valid positional index into the row or statement, ColumnIndexOutOfBounds
, or,
ColumnNotFound
. Read more
sourceimpl ColumnIndex<MssqlRow> for usize
impl ColumnIndex<MssqlRow> for usize
sourcefn index(&self, row: &MssqlRow) -> Result<usize, Error>
fn index(&self, row: &MssqlRow) -> Result<usize, Error>
Returns a valid positional index into the row or statement, ColumnIndexOutOfBounds
, or,
ColumnNotFound
. Read more
sourceimpl Row for MssqlRow
impl Row for MssqlRow
type Database = Mssql
sourcefn columns(&self) -> &[MssqlColumn]
fn columns(&self) -> &[MssqlColumn]
Gets all columns in this statement.
sourcefn try_get_raw<I>(&self, index: I) -> Result<MssqlValueRef<'_>, Error> where
I: ColumnIndex<MssqlRow>,
fn try_get_raw<I>(&self, index: I) -> Result<MssqlValueRef<'_>, Error> where
I: ColumnIndex<MssqlRow>,
Index into the database row and decode a single value. Read more
sourcefn column<I>(&self, index: I) -> &<Self::Database as Database>::Column where
I: ColumnIndex<Self>,
fn column<I>(&self, index: I) -> &<Self::Database as Database>::Column where
I: ColumnIndex<Self>,
Gets the column information at index
. Read more
sourcefn 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.
sourcefn get<'r, T, I>(&'r self, index: I) -> T where
I: ColumnIndex<Self>,
T: Decode<'r, Self::Database> + Type<Self::Database>,
fn get<'r, T, I>(&'r self, index: I) -> T where
I: ColumnIndex<Self>,
T: Decode<'r, Self::Database> + Type<Self::Database>,
Index into the database row and decode a single value. Read more
sourcefn get_unchecked<'r, T, I>(&'r self, index: I) -> T where
I: ColumnIndex<Self>,
T: Decode<'r, Self::Database>,
fn get_unchecked<'r, T, I>(&'r self, index: I) -> T where
I: ColumnIndex<Self>,
T: Decode<'r, Self::Database>,
Index into the database row and decode a single value. Read more
sourcefn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error> where
I: ColumnIndex<Self>,
T: Decode<'r, Self::Database> + Type<Self::Database>,
fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error> where
I: ColumnIndex<Self>,
T: Decode<'r, Self::Database> + Type<Self::Database>,
Index into the database row and decode a single value. Read more
sourcefn try_get_unchecked<'r, T, I>(&'r self, index: I) -> Result<T, Error> where
I: ColumnIndex<Self>,
T: Decode<'r, Self::Database>,
fn try_get_unchecked<'r, T, I>(&'r self, index: I) -> Result<T, Error> where
I: ColumnIndex<Self>,
T: Decode<'r, Self::Database>,
Index into the database row and decode a single value. Read more
Auto Trait Implementations
impl RefUnwindSafe for MssqlRow
impl Send for MssqlRow
impl Sync for MssqlRow
impl Unpin for MssqlRow
impl UnwindSafe for MssqlRow
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more