pub trait CastTarget<'a, T: DataType, D> {
// Required method
fn cast_type_name(self) -> &'a str;
}Expand description
Input accepted by cast.
You can pass:
- a SQL type string (dialect-specific), or
- a type marker value (uses that marker’s default SQL cast name).