architect-api 11.6.3

Architect.xyz Trading Platform API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};

#[derive(
    Default, Debug, Copy, Clone, PartialEq, Eq, Serialize, Deserialize, JsonSchema,
)]
pub struct OffsetAndLimit<SortBy> {
    #[serde(rename = "i")]
    #[schemars(title = "offset")]
    pub offset: Option<i32>,
    #[serde(rename = "n")]
    #[schemars(title = "limit")]
    pub limit: Option<i32>,
    #[serde(rename = "k")]
    #[schemars(title = "sort_by")]
    pub sort_by: Option<SortBy>,
}