cosmwasm-std 3.0.1

Standard library for Wasm based smart contracts on Cosmos blockchains
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};

use crate::Binary;

/// Simplified version of the PageRequest type for pagination from the cosmos-sdk
#[derive(
    Serialize, Deserialize, Clone, Default, Debug, PartialEq, Eq, JsonSchema, cw_schema::Schemaifier,
)]
pub struct PageRequest {
    pub key: Option<Binary>,
    pub limit: u32,
    pub reverse: bool,
}