blockfrost-openapi 0.1.88

Blockfrost OpenAPI types for Cardano
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct HealthGet200Response {
    #[serde(rename = "is_healthy")]
    pub is_healthy: bool,
}

impl HealthGet200Response {
    pub fn new(is_healthy: bool) -> HealthGet200Response {
        HealthGet200Response {
            is_healthy,
        }
    }
}