[][src]Trait cdrs::types::IntoRustByName

pub trait IntoRustByName<R> {
    fn get_by_name(&self, name: &str) -> CDRSResult<Option<R>>;

    fn get_r_by_name(&self, name: &str) -> CDRSResult<R> { ... }
}

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

Required methods

fn get_by_name(&self, name: &str) -> CDRSResult<Option<R>>

Loading content...

Provided methods

fn get_r_by_name(&self, name: &str) -> CDRSResult<R>

Loading content...

Implementors

impl IntoRustByName<IpAddr> for Row[src]

impl IntoRustByName<IpAddr> for UDT[src]

impl IntoRustByName<bool> for Row[src]

impl IntoRustByName<bool> for UDT[src]

impl IntoRustByName<f32> for Row[src]

impl IntoRustByName<f32> for UDT[src]

impl IntoRustByName<f64> for Row[src]

impl IntoRustByName<f64> for UDT[src]

impl IntoRustByName<i16> for Row[src]

impl IntoRustByName<i16> for UDT[src]

impl IntoRustByName<i32> for Row[src]

impl IntoRustByName<i32> for UDT[src]

impl IntoRustByName<i64> for Row[src]

impl IntoRustByName<i64> for UDT[src]

impl IntoRustByName<i8> for Row[src]

impl IntoRustByName<i8> for UDT[src]

impl IntoRustByName<Blob> for Row[src]

impl IntoRustByName<Blob> for UDT[src]

impl IntoRustByName<Decimal> for Row[src]

impl IntoRustByName<Decimal> for UDT[src]

impl IntoRustByName<List> for Row[src]

impl IntoRustByName<List> for UDT[src]

impl IntoRustByName<Map> for Row[src]

impl IntoRustByName<Map> for UDT[src]

impl IntoRustByName<Tuple> for Row[src]

impl IntoRustByName<Tuple> for UDT[src]

impl IntoRustByName<UDT> for Row[src]

impl IntoRustByName<UDT> for UDT[src]

impl IntoRustByName<String> for Row[src]

impl IntoRustByName<String> for UDT[src]

impl IntoRustByName<Timespec> for Row[src]

impl IntoRustByName<Timespec> for UDT[src]

impl IntoRustByName<Uuid> for Row[src]

impl IntoRustByName<Uuid> for UDT[src]

Loading content...