pub struct CheckResult {
pub name: String,
pub status: CheckStatus,
pub detail: String,
pub hint: Option<String>,
}Expand description
One check row. The checks[] keys are contract: exactly
{name, status, detail, hint} (hint serializes as null when
absent — agents can key on it unconditionally).
Fields§
§name: StringWhich check: url / liveness / commissioned / auth / permissions / write / webdev / rig.
status: CheckStatusok | warn | fail | skip.
detail: StringWhat was observed.
hint: Option<String>The actionable next step, when there is one.
Trait Implementations§
Source§impl Clone for CheckResult
impl Clone for CheckResult
Source§fn clone(&self) -> CheckResult
fn clone(&self) -> CheckResult
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 CheckResult
impl Debug for CheckResult
Auto Trait Implementations§
impl Freeze for CheckResult
impl RefUnwindSafe for CheckResult
impl Send for CheckResult
impl Sync for CheckResult
impl Unpin for CheckResult
impl UnsafeUnpin for CheckResult
impl UnwindSafe for CheckResult
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