Trait odbc_iter::AsNullable

source ·
pub trait AsNullable {
    // Required method
    fn as_nullable_as(&self, null: &'static str) -> NullableValue<'_>;

    // Provided method
    fn as_nullable(&self) -> NullableValue<'_> { ... }
}

Required Methods§

source

fn as_nullable_as(&self, null: &'static str) -> NullableValue<'_>

Convert to NullableValue that implements Display representing no value as given string.

Provided Methods§

source

fn as_nullable(&self) -> NullableValue<'_>

Convert to NullableValue that implements Display representing no value as “NULL”.

Implementations on Foreign Types§

source§

impl AsNullable for Option<Value>

Represent None as “NULL” and Some(Value) as value.

source§

fn as_nullable_as(&self, null: &'static str) -> NullableValue<'_>

Implementors§