pub trait FallibleCastsTo<ST> { }Expand description
Marker trait: this SQL type (Self) can be cast to the target SQL type, but some values can be invalid
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl FallibleCastsTo<BigInt> for Decimal
impl FallibleCastsTo<BigInt> for Text
impl FallibleCastsTo<Bool> for Text
impl FallibleCastsTo<Cidr> for Inet
Available on crate feature
postgres_backend only.impl FallibleCastsTo<Cidr> for Text
Available on crate feature
postgres_backend only.impl FallibleCastsTo<Date> for Text
impl FallibleCastsTo<Datetime> for Text
Available on crate feature
mysql_backend only.impl FallibleCastsTo<Double> for Decimal
impl FallibleCastsTo<Double> for Text
impl FallibleCastsTo<Float> for Decimal
impl FallibleCastsTo<Float> for Text
impl FallibleCastsTo<Inet> for Cidr
Available on crate feature
postgres_backend only.impl FallibleCastsTo<Inet> for Text
Available on crate feature
postgres_backend only.impl FallibleCastsTo<Integer> for Bool
impl FallibleCastsTo<Integer> for Decimal
impl FallibleCastsTo<Integer> for Text
impl FallibleCastsTo<Json> for Jsonb
impl FallibleCastsTo<Json> for Text
impl FallibleCastsTo<Jsonb> for Json
impl FallibleCastsTo<Jsonb> for Text
impl FallibleCastsTo<Numeric> for Text
impl FallibleCastsTo<Text> for Bool
impl FallibleCastsTo<Text> for Cidr
Available on crate feature
postgres_backend only.impl FallibleCastsTo<Text> for Date
impl FallibleCastsTo<Text> for Datetime
Available on crate feature
mysql_backend only.impl FallibleCastsTo<Text> for Inet
Available on crate feature
postgres_backend only.impl FallibleCastsTo<Text> for Json
impl FallibleCastsTo<Text> for Jsonb
impl FallibleCastsTo<Text> for Time
impl FallibleCastsTo<Text> for Uuid
Available on crate feature
postgres_backend only.impl FallibleCastsTo<Time> for Text
impl FallibleCastsTo<Uuid> for Text
Available on crate feature
postgres_backend only.