[][src]Struct c3p0_pool_pg::postgres::rows::Rows

pub struct Rows { /* fields omitted */ }

The resulting rows of a query.

Methods

impl Rows[src]

pub fn columns(&self) -> &[Column][src]

Returns a slice describing the columns of the Rows.

pub fn len(&self) -> usize[src]

Returns the number of rows present.

pub fn is_empty(&self) -> bool[src]

Determines if there are any rows present.

pub fn get(&'a self, idx: usize) -> Row<'a>[src]

Returns a specific Row.

Panics

Panics if idx is out of bounds.

Important traits for Iter<'a>
pub fn iter(&'a self) -> Iter<'a>[src]

Returns an iterator over the Rows.

Trait Implementations

impl<'a> IntoIterator for &'a Rows[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?

impl Debug for Rows[src]

Auto Trait Implementations

impl Sync for Rows

impl Send for Rows

impl Unpin for Rows

impl UnwindSafe for Rows

impl RefUnwindSafe for Rows

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self