Trait EdgedbValue

Source
pub trait EdgedbValue: Sized {
    type NativeArgType;

    // Required method
    fn from_edgedb_value(value: Value) -> Result<Self>;
}
Expand description

An object or a primitive. For sets, see EdgedbSetValue. Provided automatically in most cases.

Required Associated Types§

Source

type NativeArgType

use Value by default

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl EdgedbValue for bool

Source§

impl EdgedbValue for f32

Source§

impl EdgedbValue for f64

Source§

impl EdgedbValue for i16

Source§

impl EdgedbValue for i32

Source§

impl EdgedbValue for i64

Source§

impl EdgedbValue for ()

Source§

impl EdgedbValue for String

Source§

impl EdgedbValue for Uuid

Source§

impl<T0: EdgedbValue> EdgedbValue for (T0,)

Source§

impl<T0: EdgedbValue, T1: EdgedbValue> EdgedbValue for (T0, T1)

Source§

impl<T0: EdgedbValue, T1: EdgedbValue, T2: EdgedbValue> EdgedbValue for (T0, T1, T2)

Source§

impl<T0: EdgedbValue, T1: EdgedbValue, T2: EdgedbValue, T3: EdgedbValue> EdgedbValue for (T0, T1, T2, T3)

Source§

impl<T0: EdgedbValue, T1: EdgedbValue, T2: EdgedbValue, T3: EdgedbValue, T4: EdgedbValue> EdgedbValue for (T0, T1, T2, T3, T4)

Source§

impl<T0: EdgedbValue, T1: EdgedbValue, T2: EdgedbValue, T3: EdgedbValue, T4: EdgedbValue, T5: EdgedbValue> EdgedbValue for (T0, T1, T2, T3, T4, T5)

Implementors§