brk_server 0.3.0-alpha.4

A server with an API for anything from BRK
Documentation
1
2
3
4
5
6
7
8
9
10
use schemars::JsonSchema;
use serde::Deserialize;

use brk_types::TimePeriod;

#[derive(Deserialize, JsonSchema)]
pub struct TimePeriodParam {
    #[schemars(example = &"24h")]
    pub time_period: TimePeriod,
}