Struct consul_rs::agent::AgentCheck [−][src]
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: String
Trait Implementations
Returns the “default value” for a type. Read more
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 RefUnwindSafe for AgentCheck
impl Send for AgentCheck
impl Sync for AgentCheck
impl Unpin for AgentCheck
impl UnwindSafe for AgentCheck
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more