Struct nomad_client::models::server_health::ServerHealth[][src]

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>

Implementations

impl ServerHealth[src]

Trait Implementations

impl Clone for ServerHealth[src]

impl Debug for ServerHealth[src]

impl<'de> Deserialize<'de> for ServerHealth[src]

impl PartialEq<ServerHealth> for ServerHealth[src]

impl Serialize for ServerHealth[src]

impl StructuralPartialEq for ServerHealth[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.