From 81117a75b6376844b8ea3571ae500a56eaf14786 Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Mon, 2 Dec 2024 01:45:46 +0800 Subject: [PATCH] Added `ValueType::enum_type_name()` to signify enum types (#836) --- src/value.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/value.rs b/src/value.rs index b1ef1422..7a7ac300 100644 --- a/src/value.rs +++ b/src/value.rs @@ -237,6 +237,10 @@ pub trait ValueType: Sized { fn array_type() -> ArrayType; fn column_type() -> ColumnType; + + fn enum_type_name() -> Option<&'static str> { + None + } } #[derive(Debug)]