brk_types 0.2.5

Structs used throughout BRK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use schemars::JsonSchema;
use serde::Deserialize;

use crate::{Index, Pagination};

/// Pagination parameters with an index filter
#[derive(Debug, Deserialize, JsonSchema)]
pub struct PaginationIndex {
    /// The index to filter by
    pub index: Index,
    #[serde(flatten)]
    pub pagination: Pagination,
}