Struct postgres::rows::Rows
[−]
[src]
pub struct Rows<'stmt> { // some fields omitted }
The resulting rows of a query.
Methods
impl<'stmt> Rows<'stmt>
[src]
fn columns(&self) -> &'stmt [Column]
Returns a slice describing the columns of the Rows
.
fn len(&self) -> usize
Returns the number of rows present.
fn get<'a>(&'a self, idx: usize) -> Row<'a>
fn iter<'a>(&'a self) -> Iter<'a>
Returns an iterator over the Row
s.
Trait Implementations
impl<'a> Debug for Rows<'a>
[src]
impl<'a> IntoIterator for &'a Rows<'a>
[src]
type Item = Row<'a>
The type of the elements being iterated over.
type IntoIter = Iter<'a>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Iter<'a>
Creates an iterator from a value. Read more