Struct nomad_client_rs::models::server_health::ServerHealth
source · pub struct ServerHealth {
pub id: Option<String>,
pub name: Option<String>,
pub address: Option<String>,
pub serf_status: Option<String>,
pub version: Option<String>,
pub leader: Option<bool>,
pub last_contact: Option<i64>,
pub last_term: Option<i32>,
pub last_index: Option<i32>,
pub healthy: Option<bool>,
pub voter: Option<bool>,
pub stable_since: Option<String>,
}
Fields§
§id: Option<String>
§name: Option<String>
§address: Option<String>
§serf_status: Option<String>
§version: Option<String>
§leader: Option<bool>
§last_contact: Option<i64>
§last_term: Option<i32>
§last_index: Option<i32>
§healthy: Option<bool>
§voter: Option<bool>
§stable_since: Option<String>
Trait Implementations§
source§impl Clone for ServerHealth
impl Clone for ServerHealth
source§fn clone(&self) -> ServerHealth
fn clone(&self) -> ServerHealth
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ServerHealth
impl Debug for ServerHealth
source§impl Default for ServerHealth
impl Default for ServerHealth
source§fn default() -> ServerHealth
fn default() -> ServerHealth
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ServerHealth
impl<'de> Deserialize<'de> for ServerHealth
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more