pub trait StateSchema:
Clone
+ Send
+ Sync
+ 'static
+ Serialize
+ for<'de> Deserialize<'de>
+ Debug {
// Provided methods
fn from_input(input: Self) -> Self { ... }
fn to_json(&self) -> Value { ... }
}Expand description
State Schema trait
Provided Methods§
Sourcefn from_input(input: Self) -> Self
fn from_input(input: Self) -> Self
Create initial state from input
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".