[−][src]Struct clickhouse_rs::types::Row
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]
T: FromSql<'a>,
I: ColumnIdx + Copy,
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]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,