pub struct HealthHostJson {
pub name: String,
pub status: String,
pub latency_ms: Option<u64>,
pub error: Option<String>,
}Expand description
One entry in health-check --all --json.
Fields§
§name: StringVPS name.
status: String"ok" or "error".
latency_ms: Option<u64>Latency when measured.
error: Option<String>Error detail when status is error.
Trait Implementations§
Source§impl Clone for HealthHostJson
impl Clone for HealthHostJson
Source§fn clone(&self) -> HealthHostJson
fn clone(&self) -> HealthHostJson
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 HealthHostJson
impl Debug for HealthHostJson
Source§impl<'de> Deserialize<'de> for HealthHostJson
impl<'de> Deserialize<'de> for HealthHostJson
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
impl Eq for HealthHostJson
Source§impl PartialEq for HealthHostJson
impl PartialEq for HealthHostJson
Source§impl Serialize for HealthHostJson
impl Serialize for HealthHostJson
impl StructuralPartialEq for HealthHostJson
Auto Trait Implementations§
impl Freeze for HealthHostJson
impl RefUnwindSafe for HealthHostJson
impl Send for HealthHostJson
impl Sync for HealthHostJson
impl Unpin for HealthHostJson
impl UnsafeUnpin for HealthHostJson
impl UnwindSafe for HealthHostJson
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.