[][src]Struct pgx::spi::SpiTupleTable

pub struct SpiTupleTable { /* fields omitted */ }

Implementations

impl SpiTupleTable[src]

pub fn first(mut self: Self) -> Self[src]

SpiTupleTables are positioned before the start, for iteration purposes.

This method moves the position to the first row. If there are no rows, this method will silently return.

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

How many rows were processed?

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

pub fn get_one<A: FromDatum>(&self) -> Option<A>[src]

pub fn get_two<A: FromDatum, B: FromDatum>(&self) -> (Option<A>, Option<B>)[src]

pub fn get_three<A: FromDatum, B: FromDatum, C: FromDatum>(
    &self
) -> (Option<A>, Option<B>, Option<C>)
[src]

pub fn get_heap_tuple(&self) -> Option<SpiHeapTupleData>[src]

pub fn get_datum<T: FromDatum>(&self, ordinal: i32) -> Option<T>[src]

Trait Implementations

impl Debug for SpiTupleTable[src]

impl Iterator for SpiTupleTable[src]

type Item = SpiHeapTupleData

The type of the elements being iterated over.

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T> Same<T> for T

type Output = T

Should always be Self

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.