pub struct WorkflowsRule {
pub workflows: Vec<WorkflowRef>,
pub do_not_enforce_on_create: bool,
}Expand description
The required workflows rule of a ruleset.
Fields§
§workflows: Vec<WorkflowRef>The workflows that must pass.
do_not_enforce_on_create: boolWhether the workflows are skipped when the ref is created.
Trait Implementations§
Source§impl Clone for WorkflowsRule
impl Clone for WorkflowsRule
Source§fn clone(&self) -> WorkflowsRule
fn clone(&self) -> WorkflowsRule
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 WorkflowsRule
impl Debug for WorkflowsRule
impl Eq for WorkflowsRule
Source§impl<'ʄ> Facet<'ʄ> for WorkflowsRule
impl<'ʄ> Facet<'ʄ> for WorkflowsRule
Source§impl PartialEq for WorkflowsRule
impl PartialEq for WorkflowsRule
impl StructuralPartialEq for WorkflowsRule
Auto Trait Implementations§
impl Freeze for WorkflowsRule
impl RefUnwindSafe for WorkflowsRule
impl Send for WorkflowsRule
impl Sync for WorkflowsRule
impl Unpin for WorkflowsRule
impl UnsafeUnpin for WorkflowsRule
impl UnwindSafe for WorkflowsRule
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.