Skip to main content

ToJson

Trait ToJson 

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

Required Methods§

Source

fn to_json(&self) -> Value

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl ToJson for Account

Source§

fn to_json(&self) -> Value

Source§

impl ToJson for TransactionSummary

Source§

fn to_json(&self) -> Value

Implementors§