Trait ToEdgeValue

Source
pub trait ToEdgeValue {
    // Required method
    fn to_edge_value(&self) -> Value;
}

Required Methods§

Source

fn to_edge_value(&self) -> Value

Transform a struct data into a edgedb_protocol::value::Value

Implementations on Foreign Types§

Source§

impl ToEdgeValue for Value

Source§

impl ToEdgeValue for bool

Source§

impl ToEdgeValue for f32

Source§

impl ToEdgeValue for f64

Source§

impl ToEdgeValue for i8

Source§

impl ToEdgeValue for i16

Source§

impl ToEdgeValue for i32

Source§

impl ToEdgeValue for i64

Source§

impl ToEdgeValue for u8

Source§

impl ToEdgeValue for u16

Source§

impl ToEdgeValue for u32

Source§

impl ToEdgeValue for u64

Source§

impl ToEdgeValue for ()

Source§

impl ToEdgeValue for String

Source§

impl ToEdgeValue for Uuid

Source§

impl<T: ToEdgeValue> ToEdgeValue for Vec<T>

Implementors§