Skip to main content

IntoEdn

Trait IntoEdn 

Source
pub trait IntoEdn {
    // Required method
    fn into_edn(self) -> Edn;
}
Expand description

A Rust value that can be lowered into boundary Edn.

Implemented for the scalar types that appear as query constants, transaction values, and pull/lookup arguments. This is the seam the builders use so callers write lit(42) or attr("person/name") instead of constructing Edn by hand.

Required Methods§

Source

fn into_edn(self) -> Edn

Lowers self into its boundary Edn form.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl IntoEdn for &Edn

Source§

fn into_edn(self) -> Edn

Source§

impl IntoEdn for &Keyword

Source§

fn into_edn(self) -> Edn

Source§

impl IntoEdn for &String

Source§

fn into_edn(self) -> Edn

Source§

impl IntoEdn for &str

Source§

fn into_edn(self) -> Edn

Source§

impl IntoEdn for Edn

Source§

fn into_edn(self) -> Edn

Source§

impl IntoEdn for EntityId

Source§

fn into_edn(self) -> Edn

Source§

impl IntoEdn for Keyword

Source§

fn into_edn(self) -> Edn

Source§

impl IntoEdn for String

Source§

fn into_edn(self) -> Edn

Source§

impl IntoEdn for bool

Source§

fn into_edn(self) -> Edn

Source§

impl IntoEdn for f64

Source§

fn into_edn(self) -> Edn

Source§

impl IntoEdn for i32

Source§

fn into_edn(self) -> Edn

Source§

impl IntoEdn for i64

Source§

fn into_edn(self) -> Edn

Source§

impl IntoEdn for u32

Source§

fn into_edn(self) -> Edn

Implementors§