pub enum GateReading {
NoRequestWorkflows,
Gated,
NoSuchJob {
contexts: Vec<String>,
},
UnprovenGateName {
job: String,
},
OpaqueNeeds {
workflow: String,
},
Ungated {
jobs: Vec<String>,
},
}Expand description
What the workflows say about the required check.
Variants§
NoRequestWorkflows
No workflow runs on a pull request, so no job reports the check.
Gated
Every request-reporting context is the check, the title check, or a job the check needs.
NoSuchJob
No job reports the required check’s context on a pull request.
UnprovenGateName
A job carries the check’s id, but names itself by an expression or runs a reusable workflow, so the context it reports is not in the file.
OpaqueNeeds
The check’s needs value is one this reader does not follow.
Ungated
Contexts that report on a pull request and gate nothing.
Trait Implementations§
Source§impl Debug for GateReading
impl Debug for GateReading
impl Eq for GateReading
Source§impl PartialEq for GateReading
impl PartialEq for GateReading
impl StructuralPartialEq for GateReading
Auto Trait Implementations§
impl Freeze for GateReading
impl RefUnwindSafe for GateReading
impl Send for GateReading
impl Sync for GateReading
impl Unpin for GateReading
impl UnsafeUnpin for GateReading
impl UnwindSafe for GateReading
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