pub struct GateCommand { /* private fields */ }Expand description
Gate command for policy-based spec validation
Evaluates a spec against a configurable policy to determine if it meets requirements for CI/CD gates.
Implementations§
Source§impl GateCommand
impl GateCommand
Sourcepub fn new(spec_id: String, policy: GatePolicy) -> Self
pub fn new(spec_id: String, policy: GatePolicy) -> Self
Create a new gate command
Sourcepub fn execute(&self) -> Result<GateResult>
pub fn execute(&self) -> Result<GateResult>
Execute gate evaluation
Auto Trait Implementations§
impl Freeze for GateCommand
impl RefUnwindSafe for GateCommand
impl Send for GateCommand
impl Sync for GateCommand
impl Unpin for GateCommand
impl UnsafeUnpin for GateCommand
impl UnwindSafe for GateCommand
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