[][src]Struct quaint::prelude::ResultRow

pub struct ResultRow { /* fields omitted */ }

An owned version of a Row in a ResultSet. See ResultRowRef for documentation on data access.

Methods

impl ResultRow[src]

pub fn at(&self, i: usize) -> Option<&ParameterizedValue<'static>>[src]

Take a value from a certain position in the row, if having a value in that position. Usage documentation in ResultRowRef.

pub fn get(&self, name: &str) -> Option<&ParameterizedValue<'static>>[src]

Take a value with the given column name from the row. Usage documentation in ResultRowRef.

pub fn as_ref(&self) -> ResultRowRef[src]

Make a referring ResultRowRef.

Trait Implementations

impl Debug for ResultRow[src]

impl<I: ValueIndex<ResultRow, ParameterizedValue<'static>> + 'static> Index<I> for ResultRow[src]

type Output = ParameterizedValue<'static>

The returned type after indexing.

impl IntoIterator for ResultRow[src]

type Item = ParameterizedValue<'static>

The type of the elements being iterated over.

type IntoIter = IntoIter<ParameterizedValue<'static>>

Which kind of iterator are we turning this into?

impl ValueIndex<ResultRow, ParameterizedValue<'static>> for usize[src]

impl<'_> ValueIndex<ResultRow, ParameterizedValue<'static>> for &'_ str[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,