pub enum ChangeRejected {
TestsNotGreen,
HumanDeclined,
}Expand description
Why a ChangeRequest could not be merged.
Both variants are guardrails: a user-requested change stays proposal-only until
both the tests and the human accept, mirroring crate::learning_ledger.
Variants§
TestsNotGreen
The benchmark gate did not pass — “tests” did not accept.
HumanDeclined
The human withheld approval — “the user” did not accept.
Implementations§
Trait Implementations§
Source§impl Clone for ChangeRejected
impl Clone for ChangeRejected
Source§fn clone(&self) -> ChangeRejected
fn clone(&self) -> ChangeRejected
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 moreimpl Copy for ChangeRejected
Source§impl Debug for ChangeRejected
impl Debug for ChangeRejected
impl Eq for ChangeRejected
Source§impl PartialEq for ChangeRejected
impl PartialEq for ChangeRejected
impl StructuralPartialEq for ChangeRejected
Auto Trait Implementations§
impl Freeze for ChangeRejected
impl RefUnwindSafe for ChangeRejected
impl Send for ChangeRejected
impl Sync for ChangeRejected
impl Unpin for ChangeRejected
impl UnsafeUnpin for ChangeRejected
impl UnwindSafe for ChangeRejected
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.