pub struct Health {
pub version: String,
pub schema_version: u32,
pub supported_kinds: Vec<String>,
pub storage_path: String,
pub kind_registry: Vec<KindRegistryEntry>,
pub projects: Vec<String>,
}Expand description
Result of GET /v1/health.
Fields§
§version: StringDaemon package version (CARGO_PKG_VERSION of kindling-server).
schema_version: u32Schema version the daemon’s store reports.
supported_kinds: Vec<String>Snake-case observation kinds the daemon supports.
storage_path: StringDaemon kindling home root (global storage path).
kind_registry: Vec<KindRegistryEntry>Machine-readable kind registry (kinds + required fields).
projects: Vec<String>Project ids the daemon has touched this session.
Trait Implementations§
impl Eq for Health
impl StructuralPartialEq for Health
Auto Trait Implementations§
impl Freeze for Health
impl RefUnwindSafe for Health
impl Send for Health
impl Sync for Health
impl Unpin for Health
impl UnsafeUnpin for Health
impl UnwindSafe for Health
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,
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.