pub struct AgentCheck {
pub Node: Option<String>,
pub CheckID: Option<String>,
pub Name: Option<String>,
pub Status: Option<String>,
pub Notes: Option<String>,
pub Output: Option<String>,
pub ServiceID: Option<String>,
pub ServiceName: Option<String>,
pub Type: Option<String>,
pub Definition: Option<HealthCheckDefinition>,
pub Namespace: String,
}Expand description
AgentCheck represents a check known to the api
Fields§
§Node: Option<String>§CheckID: Option<String>§Name: Option<String>§Status: Option<String>§Notes: Option<String>§Output: Option<String>§ServiceID: Option<String>§ServiceName: Option<String>§Type: Option<String>§Definition: Option<HealthCheckDefinition>§Namespace: StringTrait Implementations§
Source§impl Clone for AgentCheck
impl Clone for AgentCheck
Source§fn clone(&self) -> AgentCheck
fn clone(&self) -> AgentCheck
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AgentCheck
impl Debug for AgentCheck
Source§impl Default for AgentCheck
impl Default for AgentCheck
Source§fn default() -> AgentCheck
fn default() -> AgentCheck
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentCheck
impl<'de> Deserialize<'de> for AgentCheck
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
Auto Trait Implementations§
impl Freeze for AgentCheck
impl RefUnwindSafe for AgentCheck
impl Send for AgentCheck
impl Sync for AgentCheck
impl Unpin for AgentCheck
impl UnsafeUnpin for AgentCheck
impl UnwindSafe for AgentCheck
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