pub type DatumRef<'a> = Option<ScalarRefImpl<'a>>;
Aliased Type§
enum DatumRef<'a> {
None,
Some(ScalarRefImpl<'a>),
}
Variants§
Trait Implementations§
source§impl DefaultOrd for DatumRef<'_>
impl DefaultOrd for DatumRef<'_>
fn default_cmp(&self, other: &Self) -> Ordering
source§impl DefaultPartialOrd for DatumRef<'_>
impl DefaultPartialOrd for DatumRef<'_>
fn default_partial_cmp(&self, other: &Self) -> Option<Ordering>
source§impl ToDatumRef for DatumRef<'_>
impl ToDatumRef for DatumRef<'_>
source§fn to_datum_ref(&self) -> DatumRef<'_>
fn to_datum_ref(&self) -> DatumRef<'_>
Convert the datum to
DatumRef
.source§impl ToText for DatumRef<'_>
impl ToText for DatumRef<'_>
source§fn write<W: Write>(&self, f: &mut W) -> Result
fn write<W: Write>(&self, f: &mut W) -> Result
Write the text to the writer regardless of its data type Read more
source§fn write_with_type<W: Write>(&self, ty: &DataType, f: &mut W) -> Result
fn write_with_type<W: Write>(&self, ty: &DataType, f: &mut W) -> Result
Write the text to the writer according to its data type
source§fn to_text_with_type(&self, ty: &DataType) -> String
fn to_text_with_type(&self, ty: &DataType) -> String
Convert to text according to its data type