pub struct RelayHealth {
pub url: String,
pub ok: bool,
pub status: Option<u16>,
pub unprobed: bool,
}Expand description
/healthz result for one distinct relay URL.
Fields§
§url: String§ok: bool§status: Option<u16>§unprobed: boolTrue when not probed (probe is opt-in); ok/status are then unknown.
Trait Implementations§
Source§impl Clone for RelayHealth
impl Clone for RelayHealth
Source§fn clone(&self) -> RelayHealth
fn clone(&self) -> RelayHealth
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 RelayHealth
impl Debug for RelayHealth
Auto Trait Implementations§
impl Freeze for RelayHealth
impl RefUnwindSafe for RelayHealth
impl Send for RelayHealth
impl Sync for RelayHealth
impl Unpin for RelayHealth
impl UnsafeUnpin for RelayHealth
impl UnwindSafe for RelayHealth
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