[][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> Sync for Row<'a>

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

impl<'a> Unpin for Row<'a>

impl<'a> !RefUnwindSafe for Row<'a>

impl<'a> !UnwindSafe for Row<'a>

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Erased for T