Skip to main content

CastsTo

Trait CastsTo 

Source
pub trait CastsTo<ST>: FallibleCastsTo<ST> { }
Expand description

Marker trait: this SQL type (Self) can be cast to the target SQL type (ST) using CAST(expr AS target_sql_type)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§