risingwave_common::types

Trait ToDatumRef

source
pub trait ToDatumRef:
    PartialEq
    + Eq
    + Debug {
    // Required method
    fn to_datum_ref(&self) -> DatumRef<'_>;
}

Required Methods§

source

fn to_datum_ref(&self) -> DatumRef<'_>

Convert the datum to DatumRef.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ToDatumRef for Option<&ScalarImpl>

source§

impl<'a, T: 'a + ToDatumRef + ?Sized> ToDatumRef for &'a T
where &'a T: PartialEq + Eq + Debug,

Implementors§