pub trait StaticTypeInfo {
// Required method
fn static_type() -> Type;
}Expand description
A trait for retrieving the SQL type of the implementing Rust type.
Required Methods§
fn static_type() -> Type
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.