pub struct BrainHealthSnapshot {
pub name: String,
pub healthy: bool,
pub events_processed: u64,
pub non_hold_decisions: u64,
pub details: Value,
}Expand description
Per-brain health information surfaced in BotHealth::brains.
Fields§
§name: StringBrain name (see Brain::name).
healthy: boolWhether the brain reports itself healthy.
events_processed: u64Total events processed since startup.
non_hold_decisions: u64Number of non-Hold decisions emitted.
details: ValueFree-form details reported by the brain.
Trait Implementations§
Source§impl Clone for BrainHealthSnapshot
impl Clone for BrainHealthSnapshot
Source§fn clone(&self) -> BrainHealthSnapshot
fn clone(&self) -> BrainHealthSnapshot
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 BrainHealthSnapshot
impl RefUnwindSafe for BrainHealthSnapshot
impl Send for BrainHealthSnapshot
impl Sync for BrainHealthSnapshot
impl Unpin for BrainHealthSnapshot
impl UnsafeUnpin for BrainHealthSnapshot
impl UnwindSafe for BrainHealthSnapshot
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