photon_api/models/
compressed_proof.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 CompressedProof {
15    #[serde(rename = "a")]
16    pub a: Vec<u8>,
17    #[serde(rename = "b")]
18    pub b: Vec<u8>,
19    #[serde(rename = "c")]
20    pub c: Vec<u8>,
21}
22
23impl CompressedProof {
24    pub fn new(a: Vec<u8>, b: Vec<u8>, c: Vec<u8>) -> CompressedProof {
25        CompressedProof { a, b, c }
26    }
27}