[][src]Trait cdrs_tokio::types::IntoRustByIndex

pub trait IntoRustByIndex<R> {
    fn get_by_index(&self, index: usize) -> CDRSResult<Option<R>>;

    fn get_r_by_index(&self, index: usize) -> CDRSResult<R> { ... }
}

Should be used to return a single column as Rust value by its name.

Required methods

fn get_by_index(&self, index: usize) -> CDRSResult<Option<R>>

Loading content...

Provided methods

fn get_r_by_index(&self, index: usize) -> CDRSResult<R>

Loading content...

Implementors

impl IntoRustByIndex<IpAddr> for Row[src]

impl IntoRustByIndex<IpAddr> for Tuple[src]

impl IntoRustByIndex<bool> for Row[src]

impl IntoRustByIndex<bool> for Tuple[src]

impl IntoRustByIndex<f32> for Row[src]

impl IntoRustByIndex<f32> for Tuple[src]

impl IntoRustByIndex<f64> for Row[src]

impl IntoRustByIndex<f64> for Tuple[src]

impl IntoRustByIndex<i8> for Row[src]

impl IntoRustByIndex<i8> for Tuple[src]

impl IntoRustByIndex<i16> for Row[src]

impl IntoRustByIndex<i16> for Tuple[src]

impl IntoRustByIndex<i32> for Row[src]

impl IntoRustByIndex<i32> for Tuple[src]

impl IntoRustByIndex<i64> for Row[src]

impl IntoRustByIndex<i64> for Tuple[src]

impl IntoRustByIndex<Blob> for Row[src]

impl IntoRustByIndex<Blob> for Tuple[src]

impl IntoRustByIndex<Decimal> for Row[src]

impl IntoRustByIndex<Decimal> for Tuple[src]

impl IntoRustByIndex<List> for Row[src]

impl IntoRustByIndex<List> for Tuple[src]

impl IntoRustByIndex<Map> for Row[src]

impl IntoRustByIndex<Map> for Tuple[src]

impl IntoRustByIndex<Tuple> for Row[src]

impl IntoRustByIndex<Tuple> for Tuple[src]

impl IntoRustByIndex<UDT> for Row[src]

impl IntoRustByIndex<UDT> for Tuple[src]

impl IntoRustByIndex<String> for Row[src]

impl IntoRustByIndex<String> for Tuple[src]

impl IntoRustByIndex<PrimitiveDateTime> for Row[src]

impl IntoRustByIndex<PrimitiveDateTime> for Tuple[src]

impl IntoRustByIndex<Uuid> for Row[src]

impl IntoRustByIndex<Uuid> for Tuple[src]

Loading content...