cosmwasm_std/
pagination.rs

1use schemars::JsonSchema;
2use serde::{Deserialize, Serialize};
3
4use crate::Binary;
5
6/// Simplified version of the PageRequest type for pagination from the cosmos-sdk
7#[derive(
8    Serialize, Deserialize, Clone, Default, Debug, PartialEq, Eq, JsonSchema, cw_schema::Schemaifier,
9)]
10pub struct PageRequest {
11    pub key: Option<Binary>,
12    pub limit: u32,
13    pub reverse: bool,
14}