pub struct StrictCloseoutGateInput<'a> {
pub profile: RecordProfile,
pub approval: Option<&'a str>,
pub linked_prs: &'a [LinkedPrEvidence],
pub current_body: Option<&'a str>,
pub expected_dashboard: Option<&'a str>,
pub allow_non_required_check_failure: bool,
}Fields§
§profile: RecordProfile§approval: Option<&'a str>§linked_prs: &'a [LinkedPrEvidence]Provider-verified linked PR evidence. Each entry must carry a
merge_sha; missing merge_sha is treated as linked-pr-not-merged.
current_body: Option<&'a str>Current issue body. When paired with expected_dashboard, the gate
fails with dashboard-out-of-date if the recomputed dashboard does
not appear in the body.
expected_dashboard: Option<&'a str>§allow_non_required_check_failure: boolWhen true, the linked-PR branch skips the conservative
“unknown required-check state with aggregate failure” check
and lets the gate pass on non-required failures alone. The
caller is responsible for surfacing the override decision in
closeout-comment evidence; the gate itself does not record it.
Trait Implementations§
Source§impl<'a> Clone for StrictCloseoutGateInput<'a>
impl<'a> Clone for StrictCloseoutGateInput<'a>
Source§fn clone(&self) -> StrictCloseoutGateInput<'a>
fn clone(&self) -> StrictCloseoutGateInput<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for StrictCloseoutGateInput<'a>
impl<'a> RefUnwindSafe for StrictCloseoutGateInput<'a>
impl<'a> Send for StrictCloseoutGateInput<'a>
impl<'a> Sync for StrictCloseoutGateInput<'a>
impl<'a> Unpin for StrictCloseoutGateInput<'a>
impl<'a> UnsafeUnpin for StrictCloseoutGateInput<'a>
impl<'a> UnwindSafe for StrictCloseoutGateInput<'a>
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