pub struct ApiSurfaceProbe {
pub url: String,
pub health: String,
pub status: String,
pub local_token: bool,
pub unit: String,
}Expand description
Status-api HTTP (+ optional unit via SSH).
Fields§
§url: StringBase URL probed (http://host:8787).
health: Stringok / unreachable / http <code> / auth required.
status: String/v1/status label when attempted.
local_token: boolLocal token file present (never the secret).
unit: Stringsystemctl is-active when SSH worked; empty otherwise.
Trait Implementations§
Source§impl Clone for ApiSurfaceProbe
impl Clone for ApiSurfaceProbe
Source§fn clone(&self) -> ApiSurfaceProbe
fn clone(&self) -> ApiSurfaceProbe
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 ApiSurfaceProbe
impl Debug for ApiSurfaceProbe
Source§impl<'de> Deserialize<'de> for ApiSurfaceProbe
impl<'de> Deserialize<'de> for ApiSurfaceProbe
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 ApiSurfaceProbe
Source§impl PartialEq for ApiSurfaceProbe
impl PartialEq for ApiSurfaceProbe
Source§fn eq(&self, other: &ApiSurfaceProbe) -> bool
fn eq(&self, other: &ApiSurfaceProbe) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ApiSurfaceProbe
impl Serialize for ApiSurfaceProbe
impl StructuralPartialEq for ApiSurfaceProbe
Auto Trait Implementations§
impl Freeze for ApiSurfaceProbe
impl RefUnwindSafe for ApiSurfaceProbe
impl Send for ApiSurfaceProbe
impl Sync for ApiSurfaceProbe
impl Unpin for ApiSurfaceProbe
impl UnsafeUnpin for ApiSurfaceProbe
impl UnwindSafe for ApiSurfaceProbe
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