[][src]Struct clickhouse_rs::types::Row

pub struct Row<'a> { /* fields omitted */ }

A row from Clickhouse

Methods

impl<'a> Row<'a>
[src]

pub fn get<T, I>(&'a self, col: I) -> Result<T, Error> where
    T: FromSql<'a>,
    I: ColumnIdx + Copy
[src]

Get the value of a particular cell of the row.

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

Return the number of cells in the current row.

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

Returns true if the row contains no cells.

pub fn name<I: ColumnIdx + Copy>(&self, col: I) -> Result<&str, Error>
[src]

Get the name of a particular cell of the row.

pub fn sql_type<I: ColumnIdx + Copy>(&self, col: I) -> Result<SqlType, Error>
[src]

Get the type of a particular cell of the row.

Auto Trait Implementations

impl<'a> Send for Row<'a>

impl<'a> Sync for Row<'a>

Blanket Implementations

impl<T> From for T
[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Erased for T