Mountain/Binary/Build/DnsCommands/DnsHealthStatus.rs
1
2//! Aggregated DNS health snapshot (server / zone / forward
3//! status + most recent error) returned by
4//! `dns_get_health_status`.
5
6use serde::{Deserialize, Serialize};
7
8#[derive(Debug, Clone, Serialize, Deserialize)]
9pub struct DnsHealthStatus {
10 pub server_status:String,
11
12 pub zone_status:String,
13
14 pub forward_status:String,
15
16 pub last_error:Option<String>,
17}