mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-09 18:18:14 -07:00
9 lines
291 B
Rust
9 lines
291 B
Rust
/// Schema metadata for a typed `text/plain` response.
|
|
#[derive(Debug, Clone)]
|
|
pub struct TextSchema {
|
|
/// Schema name, e.g. "Height", "Hex".
|
|
pub name: String,
|
|
/// True when the underlying primitive is `integer`/`number` (body needs numeric parsing).
|
|
pub is_numeric: bool,
|
|
}
|