pub trait ArriModel {
// Required methods
fn new() -> Self;
fn from_json(input: Value) -> Self;
fn from_json_string(input: String) -> Self;
fn to_json_string(&self) -> String;
fn to_query_params_string(&self) -> String;
}Required Methods§
fn new() -> Self
fn from_json(input: Value) -> Self
fn from_json_string(input: String) -> Self
fn to_json_string(&self) -> String
fn to_query_params_string(&self) -> String
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.