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