pub trait StrategySnapshot: Send + Sync {
// Required method
fn to_value(&self) -> Result<Value, StrategyError>;
}Expand description
Strategy snapshot for serialization.
Required Methods§
Sourcefn to_value(&self) -> Result<Value, StrategyError>
fn to_value(&self) -> Result<Value, StrategyError>
Serialize snapshot to JSON.