pub struct HealthCheck {Show 16 fields
pub node: String,
pub check_id: String,
pub name: String,
pub status: String,
pub notes: String,
pub output: String,
pub service_id: String,
pub service_name: String,
pub service_tags: Vec<String>,
pub type: String,
pub namespace: Option<String>,
pub partition: Option<String>,
pub exposed_port: u16,
pub definition: Option<HealthCheckDefinition>,
pub create_index: u64,
pub modify_index: u64,
}
Expand description
HealthCheck is used to represent a single check
Fields§
§node: String
§check_id: String
§name: String
§status: String
§notes: String
§output: String
§service_id: String
§service_name: String
§type: String
§namespace: Option<String>
§partition: Option<String>
§exposed_port: u16
§definition: Option<HealthCheckDefinition>
§create_index: u64
§modify_index: u64
Trait Implementations§
Source§impl Clone for HealthCheck
impl Clone for HealthCheck
Source§fn clone(&self) -> HealthCheck
fn clone(&self) -> HealthCheck
Returns a duplicate 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 HealthCheck
impl Debug for HealthCheck
Source§impl Default for HealthCheck
impl Default for HealthCheck
Source§fn default() -> HealthCheck
fn default() -> HealthCheck
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HealthCheck
impl<'de> Deserialize<'de> for HealthCheck
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 HealthCheck
impl RefUnwindSafe for HealthCheck
impl Send for HealthCheck
impl Sync for HealthCheck
impl Unpin for HealthCheck
impl UnwindSafe for HealthCheck
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