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

Implementors§

Source§

impl FallibleCastsTo<BigInt> for Text

Source§

impl FallibleCastsTo<Bool> for Text

Source§

impl FallibleCastsTo<Date> for Text

Source§

impl FallibleCastsTo<Datetime> for Text

Available on crate feature mysql_backend only.
Source§

impl FallibleCastsTo<Double> for Text

Source§

impl FallibleCastsTo<Float> for Text

Source§

impl FallibleCastsTo<Integer> for Bool

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<Text> for Bool

Source§

impl FallibleCastsTo<Text> for Date

Source§

impl FallibleCastsTo<Text> for Datetime

Available on crate feature mysql_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: CastsTo<ST2>,