pub struct AgentHealthResponse {
pub client: Option<AgentHealth>,
pub server: Option<AgentHealth>,
}
Expand description
AgentHealthResponse is the response from the Health endpoint describing an agent’s health.
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§client: Option<AgentHealth>
§server: Option<AgentHealth>
Implementations§
Source§impl AgentHealthResponse
impl AgentHealthResponse
pub fn builder() -> AgentHealthResponseBuilder
Trait Implementations§
Source§impl Clone for AgentHealthResponse
impl Clone for AgentHealthResponse
Source§fn clone(&self) -> AgentHealthResponse
fn clone(&self) -> AgentHealthResponse
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 AgentHealthResponse
impl Debug for AgentHealthResponse
Source§impl Default for AgentHealthResponse
impl Default for AgentHealthResponse
Source§fn default() -> AgentHealthResponse
fn default() -> AgentHealthResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentHealthResponse
impl<'de> Deserialize<'de> for AgentHealthResponse
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 for AgentHealthResponse
impl PartialEq for AgentHealthResponse
Source§impl Serialize for AgentHealthResponse
impl Serialize for AgentHealthResponse
impl StructuralPartialEq for AgentHealthResponse
Auto Trait Implementations§
impl Freeze for AgentHealthResponse
impl RefUnwindSafe for AgentHealthResponse
impl Send for AgentHealthResponse
impl Sync for AgentHealthResponse
impl Unpin for AgentHealthResponse
impl UnwindSafe for AgentHealthResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more