Struct nomad_client::models::agent_health::AgentHealth
source · pub struct AgentHealth {
pub ok: Option<bool>,
pub message: Option<String>,
}
Fields§
§ok: Option<bool>
§message: Option<String>
Implementations§
source§impl AgentHealth
impl AgentHealth
pub fn new() -> AgentHealth
Trait Implementations§
source§impl Clone for AgentHealth
impl Clone for AgentHealth
source§fn clone(&self) -> AgentHealth
fn clone(&self) -> AgentHealth
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 AgentHealth
impl Debug for AgentHealth
source§impl<'de> Deserialize<'de> for AgentHealth
impl<'de> Deserialize<'de> for AgentHealth
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
source§impl PartialEq<AgentHealth> for AgentHealth
impl PartialEq<AgentHealth> for AgentHealth
source§fn eq(&self, other: &AgentHealth) -> bool
fn eq(&self, other: &AgentHealth) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.