Skip to main content

GeneratedValue

Trait GeneratedValue 

Source
pub trait GeneratedValue: Sized {
    // Required method
    fn decode(
        value: &TypedValue,
        expected: &DataTypeDescriptor,
    ) -> Result<Self, GeneratedValueDecodeError>;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl GeneratedValue for String

Source§

impl GeneratedValue for Value

Source§

impl GeneratedValue for Vec<f32>

Source§

impl GeneratedValue for bool

Source§

impl GeneratedValue for f64

Source§

impl GeneratedValue for i64

Implementors§