Skip to main content

BaseModel

Trait BaseModel 

Source
pub trait BaseModel {
    // 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".

Implementors§