pub struct EngineVerdict {
pub status: String,
pub new_blocking: Vec<String>,
pub new_warnings: Vec<String>,
pub forced: bool,
pub strict: bool,
pub release_blocking_failed: usize,
pub warnings: usize,
}Expand description
The Engine’s read on an acceptance: what Evidence CI says about the
state the change would produce. Recomputable at any time from
evidence_ci::run_project; this captures the delta a single
acceptance introduces, which is what a reviewer (or the gate) acts on.
Fields§
§status: Stringpass (clean), warn (new review warnings), blocked (would be
gated; only seen on the preview/error path), or forced (gated but
overridden with –force and persisted).
new_blocking: Vec<String>Release-blocking checks newly failing because of this change.
new_warnings: Vec<String>Review-readiness warnings this change introduces.
forced: boolWhether a gate was overridden with –force.
strict: boolWhether warnings were treated as blocking (–strict).
release_blocking_failed: usizePost-accept Evidence CI counts, for context in the readout.
warnings: usizeTrait Implementations§
Source§impl Clone for EngineVerdict
impl Clone for EngineVerdict
Source§fn clone(&self) -> EngineVerdict
fn clone(&self) -> EngineVerdict
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 moreSource§impl Debug for EngineVerdict
impl Debug for EngineVerdict
Source§impl<'de> Deserialize<'de> for EngineVerdict
impl<'de> Deserialize<'de> for EngineVerdict
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EngineVerdict
Source§impl PartialEq for EngineVerdict
impl PartialEq for EngineVerdict
Source§impl Serialize for EngineVerdict
impl Serialize for EngineVerdict
impl StructuralPartialEq for EngineVerdict
Auto Trait Implementations§
impl Freeze for EngineVerdict
impl RefUnwindSafe for EngineVerdict
impl Send for EngineVerdict
impl Sync for EngineVerdict
impl Unpin for EngineVerdict
impl UnsafeUnpin for EngineVerdict
impl UnwindSafe for EngineVerdict
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,
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
Compare self to
key and return true if they are equal.