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(Serialize, Deserialize, Clone, Default, Debug, PartialEq, Eq, JsonSchema)]
8pub struct PageRequest {
9    pub key: Option<Binary>,
10    pub limit: u32,
11    pub reverse: bool,
12}