risingwave_common::types

Trait ToOwnedDatum

source
pub trait ToOwnedDatum {
    // Required method
    fn to_owned_datum(self) -> Datum;
}
Expand description

This trait is to implement to_owned_datum for Option<ScalarImpl>

Required Methods§

source

fn to_owned_datum(self) -> Datum

Convert the datum to an owned Datum.

Implementations on Foreign Types§

source§

impl<T: Into<ScalarImpl>> ToOwnedDatum for Option<T>

Implementors§