algonaut_indexer 0.7.0

Algorand ledger analytics API.
Documentation
/*
 * Indexer
 *
 * Algorand ledger analytics API.
 *
 * The version of the OpenAPI document: 2.0
 *
 * Generated by: https://openapi-generator.tech
 */

#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct StateProofReveal {
    #[serde(rename = "participant", skip_serializing_if = "Option::is_none")]
    pub participant: Option<Box<crate::models::StateProofParticipant>>,
    /// The position in the signature and participants arrays corresponding to this entry.
    #[serde(rename = "position", skip_serializing_if = "Option::is_none")]
    pub position: Option<u64>,
    #[serde(rename = "sig-slot", skip_serializing_if = "Option::is_none")]
    pub sig_slot: Option<Box<crate::models::StateProofSigSlot>>,
}

impl StateProofReveal {
    pub fn new() -> StateProofReveal {
        StateProofReveal {
            participant: None,
            position: None,
            sig_slot: None,
        }
    }
}