Struct postgres::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 iter<'a>(&'a self) -> RowsIter<'a>

Returns an iterator over the Rows.

Trait Implementations

impl<'a> Debug for Rows<'a>
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<'a> IntoIterator for &'a Rows<'a>
[src]

type Item = Row<'a>

The type of the elements being iterated over.

type IntoIter = RowsIter<'a>

Which kind of iterator are we turning this into?

fn into_iter(self) -> RowsIter<'a>

Creates an iterator from a value. Read more

impl<'stmt> IntoIterator for Rows<'stmt>
[src]

type Item = Row<'stmt>

The type of the elements being iterated over.

type IntoIter = RowsIntoIter<'stmt>

Which kind of iterator are we turning this into?

fn into_iter(self) -> RowsIntoIter<'stmt>

Creates an iterator from a value. Read more