Trait AutomateJsonIO

Source
pub trait AutomateJsonIO {
    // Required methods
    fn from_json(content_json: &Value) -> Self;
    fn from_json_file(path: &str) -> Self;
}

Required Methods§

Source

fn from_json(content_json: &Value) -> Self

Source

fn from_json_file(path: &str) -> Self

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.

Implementors§