Skip to main content

FallibleCastsTo

Trait FallibleCastsTo 

Source
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§

Source§

impl FallibleCastsTo<BigInt> for Decimal

Source§

impl FallibleCastsTo<BigInt> for Text

Source§

impl FallibleCastsTo<Bool> for Text

Source§

impl FallibleCastsTo<Cidr> for Inet

Available on crate feature postgres_backend only.
Source§

impl FallibleCastsTo<Cidr> for Text

Available on crate feature postgres_backend only.
Source§

impl FallibleCastsTo<Date> for Text

Source§

impl FallibleCastsTo<Datetime> for Text

Available on crate feature mysql_backend only.
Source§

impl FallibleCastsTo<Double> for Decimal

Source§

impl FallibleCastsTo<Double> for Text

Source§

impl FallibleCastsTo<Float> for Decimal

Source§

impl FallibleCastsTo<Float> for Text

Source§

impl FallibleCastsTo<Inet> for Cidr

Available on crate feature postgres_backend only.
Source§

impl FallibleCastsTo<Inet> for Text

Available on crate feature postgres_backend only.
Source§

impl FallibleCastsTo<Integer> for Bool

Source§

impl FallibleCastsTo<Integer> for Decimal

Source§

impl FallibleCastsTo<Integer> for Text

Source§

impl FallibleCastsTo<Json> for Jsonb

Source§

impl FallibleCastsTo<Json> for Text

Source§

impl FallibleCastsTo<Jsonb> for Json

Source§

impl FallibleCastsTo<Jsonb> for Text

Source§

impl FallibleCastsTo<Numeric> for Text

Source§

impl FallibleCastsTo<Text> for Bool

Source§

impl FallibleCastsTo<Text> for Cidr

Available on crate feature postgres_backend only.
Source§

impl FallibleCastsTo<Text> for Date

Source§

impl FallibleCastsTo<Text> for Datetime

Available on crate feature mysql_backend only.
Source§

impl FallibleCastsTo<Text> for Inet

Available on crate feature postgres_backend only.
Source§

impl FallibleCastsTo<Text> for Json

Source§

impl FallibleCastsTo<Text> for Jsonb

Source§

impl FallibleCastsTo<Text> for Time

Source§

impl FallibleCastsTo<Text> for Uuid

Available on crate feature postgres_backend only.
Source§

impl FallibleCastsTo<Time> for Text

Source§

impl FallibleCastsTo<Uuid> for Text

Available on crate feature postgres_backend only.
Source§

impl<ST1, ST2> FallibleCastsTo<Nullable<ST2>> for Nullable<ST1>
where ST1: FallibleCastsTo<ST2>,