pub struct QualityGateConfig {
pub source: String,
pub threshold: u32,
pub on_fail_action: OnFailAction,
}Expand description
Configuration specific to quality_gate nodes.
Grouped into a single struct so non-quality-gate construction sites need
only quality_gate: None instead of three separate optional fields.
Fields§
§source: StringStep key whose structured output is evaluated.
threshold: u32Minimum confidence score (0-100) required to pass.
on_fail_action: OnFailActionAction when the gate fails (score below threshold).
Trait Implementations§
Source§impl Clone for QualityGateConfig
impl Clone for QualityGateConfig
Source§fn clone(&self) -> QualityGateConfig
fn clone(&self) -> QualityGateConfig
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 QualityGateConfig
impl Debug for QualityGateConfig
Source§impl<'de> Deserialize<'de> for QualityGateConfig
impl<'de> Deserialize<'de> for QualityGateConfig
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
Auto Trait Implementations§
impl Freeze for QualityGateConfig
impl RefUnwindSafe for QualityGateConfig
impl Send for QualityGateConfig
impl Sync for QualityGateConfig
impl Unpin for QualityGateConfig
impl UnsafeUnpin for QualityGateConfig
impl UnwindSafe for QualityGateConfig
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