Skip to main content

StrategySnapshot

Trait StrategySnapshot 

Source
pub trait StrategySnapshot: Send + Sync {
    // Required method
    fn to_value(&self) -> Result<Value, StrategyError>;
}
Expand description

Strategy snapshot for serialization.

Required Methods§

Source

fn to_value(&self) -> Result<Value, StrategyError>

Serialize snapshot to JSON.

Implementors§