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

    // Provided method
    fn get_r_by_name(&self, name: &str) -> CDRSResult<R> { ... }
}
Expand description

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

Required Methods§

source

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

Provided Methods§

source

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

Implementors§

source§

impl IntoRustByName<IpAddr> for Row

source§

impl IntoRustByName<IpAddr> for Udt

source§

impl IntoRustByName<bool> for Row

source§

impl IntoRustByName<bool> for Udt

source§

impl IntoRustByName<f32> for Row

source§

impl IntoRustByName<f32> for Udt

source§

impl IntoRustByName<f64> for Row

source§

impl IntoRustByName<f64> for Udt

source§

impl IntoRustByName<i8> for Row

source§

impl IntoRustByName<i8> for Udt

source§

impl IntoRustByName<i16> for Row

source§

impl IntoRustByName<i16> for Udt

source§

impl IntoRustByName<i32> for Row

source§

impl IntoRustByName<i32> for Udt

source§

impl IntoRustByName<i64> for Row

source§

impl IntoRustByName<i64> for Udt

source§

impl IntoRustByName<Blob> for Row

source§

impl IntoRustByName<Blob> for Udt

source§

impl IntoRustByName<Decimal> for Row

source§

impl IntoRustByName<Decimal> for Udt

source§

impl IntoRustByName<String> for Row

source§

impl IntoRustByName<String> for Udt

source§

impl IntoRustByName<NonZeroI8> for Row

source§

impl IntoRustByName<NonZeroI8> for Udt

source§

impl IntoRustByName<NonZeroI16> for Row

source§

impl IntoRustByName<NonZeroI16> for Udt

source§

impl IntoRustByName<NonZeroI32> for Row

source§

impl IntoRustByName<NonZeroI32> for Udt

source§

impl IntoRustByName<NonZeroI64> for Row

source§

impl IntoRustByName<NonZeroI64> for Udt

source§

impl IntoRustByName<DateTime<Utc>> for Row

source§

impl IntoRustByName<DateTime<Utc>> for Udt

source§

impl IntoRustByName<NaiveDateTime> for Row

source§

impl IntoRustByName<NaiveDateTime> for Udt

source§

impl IntoRustByName<BigInt> for Row

source§

impl IntoRustByName<BigInt> for Udt

source§

impl IntoRustByName<PrimitiveDateTime> for Row

source§

impl IntoRustByName<PrimitiveDateTime> for Udt

source§

impl IntoRustByName<Uuid> for Row

source§

impl IntoRustByName<Uuid> for Udt

source§

impl IntoRustByName<List> for Row

source§

impl IntoRustByName<List> for Udt

source§

impl IntoRustByName<Map> for Row

source§

impl IntoRustByName<Map> for Udt

source§

impl IntoRustByName<Tuple> for Row

source§

impl IntoRustByName<Tuple> for Udt

source§

impl IntoRustByName<Udt> for Row

source§

impl IntoRustByName<Udt> for Udt