Trait sandkiste::types::Nullable

source ·
pub trait Nullablewhere
    Self: Sized,{
    // Required methods
    fn null() -> Self;
    fn is_null(&self) -> bool;
}
Expand description

Types that can be null

Implementors should consider also implementing From<Option<T>> where T: Into<Self>.

Required Methods§

source

fn null() -> Self

Datum representing a null value

source

fn is_null(&self) -> bool

Can the datum be interpreted as a null value?

Implementors§