risingwave_common::types

Trait WithDataType

source
pub trait WithDataType {
    // Required method
    fn default_data_type() -> DataType;
}
Expand description

A trait for all physical types that can be associated with a DataType.

This is also a helper for Fields derive macro.

Required Methods§

source

fn default_data_type() -> DataType

Returns the most obvious DataType for the rust type.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WithDataType for &str

source§

impl WithDataType for bool

source§

impl WithDataType for char

source§

impl WithDataType for f32

source§

impl WithDataType for f64

source§

impl WithDataType for i16

source§

impl WithDataType for i32

source§

impl WithDataType for i64

source§

impl WithDataType for Box<Decimal>

source§

impl WithDataType for Box<bool>

source§

impl WithDataType for Box<char>

source§

impl WithDataType for Box<f32>

source§

impl WithDataType for Box<f64>

source§

impl WithDataType for Box<i16>

source§

impl WithDataType for Box<i32>

source§

impl WithDataType for Box<i64>

source§

impl WithDataType for Box<Date>

source§

impl WithDataType for Box<Time>

source§

impl WithDataType for Box<Timestamp>

source§

impl WithDataType for Box<String>

source§

impl WithDataType for Box<Vec<u8>>

source§

impl WithDataType for Box<Interval>

source§

impl WithDataType for Box<JsonbVal>

source§

impl WithDataType for Box<Int256>

source§

impl WithDataType for Box<Serial>

source§

impl WithDataType for Box<Timestamptz>

source§

impl WithDataType for Box<F32>

source§

impl WithDataType for Box<F64>

source§

impl WithDataType for Box<Bytes>

source§

impl WithDataType for Box<Decimal>

source§

impl WithDataType for Rc<Decimal>

source§

impl WithDataType for Rc<bool>

source§

impl WithDataType for Rc<char>

source§

impl WithDataType for Rc<f32>

source§

impl WithDataType for Rc<f64>

source§

impl WithDataType for Rc<i16>

source§

impl WithDataType for Rc<i32>

source§

impl WithDataType for Rc<i64>

source§

impl WithDataType for Rc<Date>

source§

impl WithDataType for Rc<Time>

source§

impl WithDataType for Rc<Timestamp>

source§

impl WithDataType for Rc<String>

source§

impl WithDataType for Rc<Vec<u8>>

source§

impl WithDataType for Rc<Interval>

source§

impl WithDataType for Rc<JsonbVal>

source§

impl WithDataType for Rc<Int256>

source§

impl WithDataType for Rc<Serial>

source§

impl WithDataType for Rc<Timestamptz>

source§

impl WithDataType for Rc<F32>

source§

impl WithDataType for Rc<F64>

source§

impl WithDataType for Rc<Bytes>

source§

impl WithDataType for Rc<Decimal>

source§

impl WithDataType for String

source§

impl WithDataType for Arc<Decimal>

source§

impl WithDataType for Arc<bool>

source§

impl WithDataType for Arc<char>

source§

impl WithDataType for Arc<f32>

source§

impl WithDataType for Arc<f64>

source§

impl WithDataType for Arc<i16>

source§

impl WithDataType for Arc<i32>

source§

impl WithDataType for Arc<i64>

source§

impl WithDataType for Arc<Date>

source§

impl WithDataType for Arc<Time>

source§

impl WithDataType for Arc<Timestamp>

source§

impl WithDataType for Arc<String>

source§

impl WithDataType for Arc<Vec<u8>>

source§

impl WithDataType for Arc<Interval>

source§

impl WithDataType for Arc<JsonbVal>

source§

impl WithDataType for Arc<Int256>

source§

impl WithDataType for Arc<Serial>

source§

impl WithDataType for Arc<Timestamptz>

source§

impl WithDataType for Arc<F32>

source§

impl WithDataType for Arc<F64>

source§

impl WithDataType for Arc<Bytes>

source§

impl WithDataType for Arc<Decimal>

source§

impl WithDataType for Vec<u8>

source§

impl WithDataType for Bytes

source§

impl WithDataType for Decimal

source§

impl<'a> WithDataType for &'a bool

source§

impl<'a> WithDataType for &'a char

source§

impl<'a> WithDataType for &'a f32

source§

impl<'a> WithDataType for &'a f64

source§

impl<'a> WithDataType for &'a i16

source§

impl<'a> WithDataType for &'a i32

source§

impl<'a> WithDataType for &'a i64

source§

impl<'a> WithDataType for &'a String

source§

impl<'a> WithDataType for &'a Vec<u8>

source§

impl<'a> WithDataType for &'a Bytes

source§

impl<'a> WithDataType for &'a Decimal

source§

impl<'a> WithDataType for &'a mut bool

source§

impl<'a> WithDataType for &'a mut char

source§

impl<'a> WithDataType for &'a mut f32

source§

impl<'a> WithDataType for &'a mut f64

source§

impl<'a> WithDataType for &'a mut i16

source§

impl<'a> WithDataType for &'a mut i32

source§

impl<'a> WithDataType for &'a mut i64

source§

impl<'a> WithDataType for &'a mut String

source§

impl<'a> WithDataType for &'a mut Vec<u8>

source§

impl<'a> WithDataType for &'a mut Bytes

source§

impl<'a> WithDataType for &'a mut Decimal

source§

impl<T> WithDataType for Option<T>
where T: WithDataType,

source§

impl<T> WithDataType for [T]
where T: WithDataType,

source§

impl<T> WithDataType for Vec<T>
where T: WithDataType,

Implementors§

source§

impl WithDataType for risingwave_common::types::decimal::Decimal

source§

impl WithDataType for Date

source§

impl WithDataType for Time

source§

impl WithDataType for Timestamp

source§

impl WithDataType for Interval

source§

impl WithDataType for JsonbRef<'_>

source§

impl WithDataType for JsonbVal

source§

impl WithDataType for Int256

source§

impl WithDataType for Serial

source§

impl WithDataType for Timestamptz

source§

impl WithDataType for F32

source§

impl WithDataType for F64

source§

impl<'a> WithDataType for &'a risingwave_common::types::decimal::Decimal

source§

impl<'a> WithDataType for &'a Date

source§

impl<'a> WithDataType for &'a Time

source§

impl<'a> WithDataType for &'a Timestamp

source§

impl<'a> WithDataType for &'a Interval

source§

impl<'a> WithDataType for &'a JsonbVal

source§

impl<'a> WithDataType for &'a Int256

source§

impl<'a> WithDataType for &'a Serial

source§

impl<'a> WithDataType for &'a Timestamptz

source§

impl<'a> WithDataType for &'a F32

source§

impl<'a> WithDataType for &'a F64

source§

impl<'a> WithDataType for &'a mut risingwave_common::types::decimal::Decimal

source§

impl<'a> WithDataType for &'a mut Date

source§

impl<'a> WithDataType for &'a mut Time

source§

impl<'a> WithDataType for &'a mut Timestamp

source§

impl<'a> WithDataType for &'a mut Interval

source§

impl<'a> WithDataType for &'a mut JsonbVal

source§

impl<'a> WithDataType for &'a mut Int256

source§

impl<'a> WithDataType for &'a mut Serial

source§

impl<'a> WithDataType for &'a mut Timestamptz

source§

impl<'a> WithDataType for &'a mut F32

source§

impl<'a> WithDataType for &'a mut F64

source§

impl<T> WithDataType for T
where T: Fields,