pub enum Acceptance {
TypedDelta {
api: Vec<ApiEntry>,
examples: Vec<String>,
},
FailingExample {
example: String,
},
MetricInvariant {
predicate: String,
window: String,
},
Evidence {
subject: String,
invariants: Vec<String>,
},
FreeForm {},
}Expand description
The declared oracle — what must hold for the issue to be done. Tagged by
shape in JSON ({"shape": "typed_delta", ...}).
Variants§
TypedDelta
Declares the public API that should exist after, plus behavioral
examples (Lex examples {} source). Done when api-diff(base, head)
realizes the delta and the examples pass. Features, new modules,
analytics/finance functions.
FailingExample
A behavioral example that fails at base; fixed = it passes. A bug
report is a reproducible failing example.
MetricInvariant
A typed predicate over the event backbone that must hold over a
window (p99 < 200ms for 7d, churn <= X, balances reconcile).
Monitoring, ops, growth, product outcomes, finance invariants.
Evidence
An attested evidence chain exists and its invariants hold (finance close, compliance, custody).
FreeForm
Human-closed. The explicit exception — kept small, never the default.
Implementations§
Source§impl Acceptance
impl Acceptance
Trait Implementations§
Source§impl Clone for Acceptance
impl Clone for Acceptance
Source§impl Debug for Acceptance
impl Debug for Acceptance
Source§impl<'de> Deserialize<'de> for Acceptance
impl<'de> Deserialize<'de> for Acceptance
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>,
impl Eq for Acceptance
Source§impl PartialEq for Acceptance
impl PartialEq for Acceptance
Source§impl Serialize for Acceptance
impl Serialize for Acceptance
impl StructuralPartialEq for Acceptance
Auto Trait Implementations§
impl Freeze for Acceptance
impl RefUnwindSafe for Acceptance
impl Send for Acceptance
impl Sync for Acceptance
impl Unpin for Acceptance
impl UnsafeUnpin for Acceptance
impl UnwindSafe for Acceptance
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
key and return true if they are equal.