[−][src]Trait sqlx::Row
Represents a single row of the result set.
Associated Types
Loading content...Required methods
fn len(&self) -> usize
Returns the number of values in the row.
fn try_get_raw<'r, I>(
&'r self,
index: I
) -> Result<<Self::Database as HasRawValue<'r>>::RawValue, Error> where
'c: 'r,
I: ColumnIndex<Self::Database>,
&'r self,
index: I
) -> Result<<Self::Database as HasRawValue<'r>>::RawValue, Error> where
'c: 'r,
I: ColumnIndex<Self::Database>,
Provided methods
fn is_empty(&self) -> bool
Returns true
if the row contains no values.
fn get<'r, T, I>(&'r self, index: I) -> T where
'c: 'r,
I: ColumnIndex<Self::Database>,
T: Type<Self::Database> + Decode<'r, Self::Database>,
'c: 'r,
I: ColumnIndex<Self::Database>,
T: Type<Self::Database> + Decode<'r, Self::Database>,
fn try_get<'r, T, I>(&'r self, index: I) -> Result<T, Error> where
'c: 'r,
I: ColumnIndex<Self::Database>,
T: Type<Self::Database> + Decode<'r, Self::Database>,
'c: 'r,
I: ColumnIndex<Self::Database>,
T: Type<Self::Database> + Decode<'r, Self::Database>,
Implementors
impl<'c> Row<'c> for MySqlRow<'c>
[src]
type Database = MySql
fn len(&self) -> usize
[src]
fn try_get_raw<'r, I>(
&'r self,
index: I
) -> Result<Option<MySqlValue<'r>>, Error> where
'c: 'r,
I: ColumnIndex<<MySqlRow<'c> as Row<'c>>::Database>,
[src]
&'r self,
index: I
) -> Result<Option<MySqlValue<'r>>, Error> where
'c: 'r,
I: ColumnIndex<<MySqlRow<'c> as Row<'c>>::Database>,