Trait ScriptResultDeserialize

Source
pub trait ScriptResultDeserialize: Sized {
    // Required methods
    fn from_string(script_result: Option<String>) -> Result<Self, Error>;
    fn from_value(script_result: Option<Value>) -> Result<Self, Error>;
}

Required Methods§

Source

fn from_string(script_result: Option<String>) -> Result<Self, Error>

Source

fn from_value(script_result: Option<Value>) -> Result<Self, Error>

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§