pub struct PrDecisionGate {
pub id: String,
pub label: String,
pub status: PrDecisionConclusion,
pub observed: String,
pub threshold: Option<String>,
pub scope: String,
}Expand description
One quality-gate outcome inside PrDecisionSurface::gates.
Fields§
§id: StringStable gate identifier, e.g. duplication.
label: StringDisplay label for the gate.
status: PrDecisionConclusionGate outcome.
observed: StringObserved value text, e.g. “9.1% on changed code”.
threshold: Option<String>Configured threshold text, e.g. “<= 3%”, when the gate has one.
scope: StringScope the gate evaluated, e.g. “new code”.
Trait Implementations§
Source§impl Clone for PrDecisionGate
impl Clone for PrDecisionGate
Source§impl Debug for PrDecisionGate
impl Debug for PrDecisionGate
Source§impl<'de> Deserialize<'de> for PrDecisionGate
impl<'de> Deserialize<'de> for PrDecisionGate
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 PrDecisionGate
Source§impl PartialEq for PrDecisionGate
impl PartialEq for PrDecisionGate
Source§impl Serialize for PrDecisionGate
impl Serialize for PrDecisionGate
impl StructuralPartialEq for PrDecisionGate
Auto Trait Implementations§
impl Freeze for PrDecisionGate
impl RefUnwindSafe for PrDecisionGate
impl Send for PrDecisionGate
impl Sync for PrDecisionGate
impl Unpin for PrDecisionGate
impl UnsafeUnpin for PrDecisionGate
impl UnwindSafe for PrDecisionGate
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.