pub trait CastTarget<'a, T: DataType, D> {
// Required method
fn cast_type_name(self) -> &'a str;
}Expand description
The target argument of cast: a SQL type name such as "VARCHAR(255)",
or a type marker value whose DefaultCastTypeName is used.
Required Methods§
Sourcefn cast_type_name(self) -> &'a str
fn cast_type_name(self) -> &'a str
The SQL type name to cast to.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".