Trait cdrs::types::IntoRustByName [−][src]
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>>
Provided Methods
fn get_r_by_name(&self, name: &str) -> CDRSResult<R>
Implementors
impl IntoRustByName<Blob> for Row
impl IntoRustByName<String> for Row
impl IntoRustByName<bool> for Row
impl IntoRustByName<i64> for Row
impl IntoRustByName<i32> for Row
impl IntoRustByName<i16> for Row
impl IntoRustByName<i8> for Row
impl IntoRustByName<f64> for Row
impl IntoRustByName<f32> for Row
impl IntoRustByName<IpAddr> for Row
impl IntoRustByName<Uuid> for Row
impl IntoRustByName<List> for Row
impl IntoRustByName<Map> for Row
impl IntoRustByName<UDT> for Row
impl IntoRustByName<Tuple> for Row
impl IntoRustByName<Timespec> for Row
impl IntoRustByName<Blob> for UDT
impl IntoRustByName<String> for UDT
impl IntoRustByName<bool> for UDT
impl IntoRustByName<i64> for UDT
impl IntoRustByName<i32> for UDT
impl IntoRustByName<i16> for UDT
impl IntoRustByName<i8> for UDT
impl IntoRustByName<f64> for UDT
impl IntoRustByName<f32> for UDT
impl IntoRustByName<IpAddr> for UDT
impl IntoRustByName<Uuid> for UDT
impl IntoRustByName<List> for UDT
impl IntoRustByName<Map> for UDT
impl IntoRustByName<UDT> for UDT
impl IntoRustByName<Tuple> for UDT
impl IntoRustByName<Timespec> for UDT