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§
Sourcetype NativeArgType
type NativeArgType
use Value by default
Required Methods§
fn from_edgedb_value(value: Value) -> Result<Self>
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.