photon_api/models/_get_compressed_account_proof_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 GetCompressedAccountProofPostRequestParams {
15 /// A 32-byte hash represented as a base58 string.
16 #[serde(rename = "hash")]
17 pub hash: String,
18}
19
20impl GetCompressedAccountProofPostRequestParams {
21 pub fn new(hash: String) -> GetCompressedAccountProofPostRequestParams {
22 GetCompressedAccountProofPostRequestParams { hash }
23 }
24}