Trait yrs::types::ToJson

source ·
pub trait ToJson {
    // Required method
    fn to_json<T: ReadTxn>(&self, txn: &T) -> Any;
}

Required Methods§

source

fn to_json<T: ReadTxn>(&self, txn: &T) -> Any

Converts all contents of a current type into a JSON-like representation.

Object Safety§

This trait is not object safe.

Implementors§