pub struct MssqlRow { /* private fields */ }
Trait Implementations§
source§impl ColumnIndex<MssqlRow> for &str
impl ColumnIndex<MssqlRow> for &str
source§fn 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
.source§impl ColumnIndex<MssqlRow> for usize
impl ColumnIndex<MssqlRow> for usize
source§fn 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
.source§impl Row for MssqlRow
impl Row for MssqlRow
type Database = Mssql
source§fn columns(&self) -> &[MssqlColumn]
fn columns(&self) -> &[MssqlColumn]
Gets all columns in this statement.
source§fn try_get_raw<I>(&self, index: I) -> Result<MssqlValueRef<'_>, Error>where
I: ColumnIndex<Self>,
fn try_get_raw<I>(&self, index: I) -> Result<MssqlValueRef<'_>, Error>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 None
if out of bounds.source§fn get<'r, T, I>(&'r self, index: I) -> Twhere
I: ColumnIndex<Self>,
T: Decode<'r, Self::Database> + Type<Self::Database>,
fn get<'r, T, I>(&'r self, index: I) -> Twhere I: ColumnIndex<Self>, T: Decode<'r, Self::Database> + Type<Self::Database>,
Index into the database row and decode a single value. Read more
source§fn get_unchecked<'r, T, I>(&'r self, index: I) -> Twhere
I: ColumnIndex<Self>,
T: Decode<'r, Self::Database>,
fn get_unchecked<'r, T, I>(&'r self, index: I) -> Twhere I: ColumnIndex<Self>, T: Decode<'r, Self::Database>,
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>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
source§fn 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