mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-15 13:08:12 -07:00
10 lines
252 B
Rust
10 lines
252 B
Rust
use schemars::JsonSchema;
|
|
use serde::Deserialize;
|
|
|
|
#[derive(Deserialize, JsonSchema)]
|
|
pub struct MetricPath {
|
|
/// Metric name
|
|
#[schemars(example = &"price_close", example = &"market_cap", example = &"realized_price")]
|
|
pub metric: String,
|
|
}
|