algonaut_algod 0.5.0

API endpoint for algod operations.
Documentation
/*
 * Algod REST API.
 *
 * API endpoint for algod operations.
 *
 * The version of the OpenAPI document: 0.0.1
 * Contact: contact@algorand.com
 * Generated by: https://openapi-generator.tech
 */

#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct GetSyncRound200Response {
    /// The minimum sync round for the ledger.
    #[serde(rename = "round")]
    pub round: u64,
}

impl GetSyncRound200Response {
    pub fn new(round: u64) -> GetSyncRound200Response {
        GetSyncRound200Response { round }
    }
}