pub trait TriggerRequest {
// Required methods
fn from_json(json: Value) -> Result<Self>
where Self: Sized;
fn paths(&self) -> Vec<(String, bool)>;
}Required Methods§
fn from_json(json: Value) -> Result<Self>where
Self: Sized,
fn paths(&self) -> Vec<(String, bool)>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".