pub struct Trigger {
pub paths_filtered: bool,
pub misses_trunk: Option<String>,
pub types_filtered: Option<String>,
}Expand description
What a workflow’s pull-request trigger filters by.
Every filter can keep the gate from reporting on a request the trunk protection covers, and a required context that never appears leaves the merge hanging.
Fields§
§paths_filtered: boolThe trigger carries paths or paths-ignore.
misses_trunk: Option<String>The trigger’s branch filter leaves the trunk out, quoted.
types_filtered: Option<String>The trigger’s activity types leave out an opened, reopened, or synchronized request, quoted.
Trait Implementations§
impl Eq for Trigger
impl StructuralPartialEq for Trigger
Auto Trait Implementations§
impl Freeze for Trigger
impl RefUnwindSafe for Trigger
impl Send for Trigger
impl Sync for Trigger
impl Unpin for Trigger
impl UnsafeUnpin for Trigger
impl UnwindSafe for Trigger
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