pub struct HostHealthResult {
pub name: String,
pub ok: bool,
pub latency_ms: Option<u64>,
pub error: Option<String>,
}Expand description
Per-host health-check outcome for batch output.
Fields§
§name: StringVPS name.
ok: boolWhether connect+auth succeeded.
latency_ms: Option<u64>Latency when measured.
error: Option<String>Error text when not ok.
Trait Implementations§
Source§impl Clone for HostHealthResult
impl Clone for HostHealthResult
Source§fn clone(&self) -> HostHealthResult
fn clone(&self) -> HostHealthResult
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 moreAuto Trait Implementations§
impl Freeze for HostHealthResult
impl RefUnwindSafe for HostHealthResult
impl Send for HostHealthResult
impl Sync for HostHealthResult
impl Unpin for HostHealthResult
impl UnsafeUnpin for HostHealthResult
impl UnwindSafe for HostHealthResult
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