pub trait IntoSQL {
const IS_NULLABLE: bool = false;
// Required method
fn into_sql() -> DataType;
}
Expand description
Do not use this trait in your production code. Its intended use is for migration generation only. It will panic if used outside its intended API.
Provided Associated Constants§
const IS_NULLABLE: bool = false
Required Methods§
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.