Struct tokio_postgres::row::SimpleQueryRow[][src]

pub struct SimpleQueryRow { /* fields omitted */ }
Expand description

A row of data returned from the database by a simple query.

Implementations

Returns information about the columns of data in the row.

Determines if the row contains no values.

Returns the number of values in the row.

Returns a value from the row.

The value can be specified either by its numeric index in the row, or by its column name.

Panics

Panics if the index is out of bounds or if the value cannot be converted to the specified type.

Like SimpleQueryRow::get, but returns a Result rather than panicking.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.