Skip to main content

btcpay_client/models/
application_health_data.rs

1/*
2 * BTCPay Greenfield API
3 *
4 * A full API to use your BTCPay Server
5 *
6 * The version of the OpenAPI document: v1
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct ApplicationHealthData {
16    /// True if the instance is fully synchronized, according to NBXplorer
17    #[serde(rename = "synchronized", skip_serializing_if = "Option::is_none")]
18    pub synchronized: Option<bool>,
19}
20
21impl ApplicationHealthData {
22    pub fn new() -> ApplicationHealthData {
23        ApplicationHealthData {
24            synchronized: None,
25        }
26    }
27}
28
29