pub struct StaleWarning {
pub message: String,
pub severity: StaleSeverity,
pub age_secs: u64,
pub indexed_at: Option<i64>,
}Expand description
AcmeFlow refinement (1.0.77): same as stale_warning but
returns a struct so callers can distinguish a soft “index is old
but results came back fine” hint from a hard “FTS is broken /
empty” alert. The MCP response includes stale_severity as a
machine-readable field so downstream UIs can render appropriately
(Craig decision Q7: yes, future-proof rendering).
Fields§
§message: String§severity: StaleSeverity§age_secs: u64§indexed_at: Option<i64>Trait Implementations§
Source§impl Clone for StaleWarning
impl Clone for StaleWarning
Source§impl Debug for StaleWarning
impl Debug for StaleWarning
Auto Trait Implementations§
impl Freeze for StaleWarning
impl RefUnwindSafe for StaleWarning
impl Send for StaleWarning
impl Sync for StaleWarning
impl Unpin for StaleWarning
impl UnsafeUnpin for StaleWarning
impl UnwindSafe for StaleWarning
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