1 2 3 4 5 6 7 8 9
use schemars::JsonSchema; use serde::Deserialize; #[derive(Deserialize, JsonSchema)] pub struct BlockCountParam { /// Number of recent blocks to include #[schemars(example = 100)] pub block_count: usize, }