les 0.1.0-alpha.2

less is the crate provide binding for crypto network
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use serde::{Serialize, Deserialize};

/// This struct represents a paginator
#[derive(Serialize, Deserialize, Clone, Debug, Default)]
#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
pub struct Paginator {
    pub start_time: Option<u64>,
    pub end_time: Option<u64>,
    pub limit: Option<u64>,
    pub before: Option<String>,
    pub after: Option<String>,
}