pub trait TryFromPlaintext: Sized {
    // Required methods
    fn try_from_plaintext(value: Plaintext) -> Result<Self, TypeParseError>;
    fn try_from_optional_plaintext(
        value: Option<Plaintext>,
    ) -> Result<Self, TypeParseError>;
}

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl TryFromPlaintext for Value

§

impl TryFromPlaintext for bool

§

impl TryFromPlaintext for f64

§

impl TryFromPlaintext for i16

§

impl TryFromPlaintext for i32

§

impl TryFromPlaintext for i64

§

impl TryFromPlaintext for u64

§

impl TryFromPlaintext for String

§

impl TryFromPlaintext for DateTime<Utc>

§

impl TryFromPlaintext for NaiveDate

§

impl TryFromPlaintext for Decimal

§

impl<T> TryFromPlaintext for Option<T>

Implementors§