photon_api/models/
_get_latest_compression_signatures_post_request_params.rs

1/*
2 * photon-indexer
3 *
4 * Solana indexer for general compression
5 *
6 * The version of the OpenAPI document: 0.50.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12
13#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
14pub struct GetLatestCompressionSignaturesPostRequestParams {
15    #[serde(
16        rename = "cursor",
17        default,
18        with = "::serde_with::rust::double_option",
19        skip_serializing_if = "Option::is_none"
20    )]
21    pub cursor: Option<Option<String>>,
22    #[serde(
23        rename = "limit",
24        default,
25        with = "::serde_with::rust::double_option",
26        skip_serializing_if = "Option::is_none"
27    )]
28    pub limit: Option<Option<i32>>,
29}
30
31impl GetLatestCompressionSignaturesPostRequestParams {
32    pub fn new() -> GetLatestCompressionSignaturesPostRequestParams {
33        GetLatestCompressionSignaturesPostRequestParams {
34            cursor: None,
35            limit: None,
36        }
37    }
38}