pub struct StatusChecksRule {
pub required_status_checks: Vec<RequiredCheck>,
pub strict_required_status_checks_policy: bool,
pub do_not_enforce_on_create: bool,
}Expand description
The required status checks rule of a ruleset.
Fields§
§required_status_checks: Vec<RequiredCheck>The checks that must pass.
strict_required_status_checks_policy: boolWhether the branch must be up to date before the checks can pass.
do_not_enforce_on_create: boolWhether the checks are skipped when the ref is created.
Trait Implementations§
Source§impl Clone for StatusChecksRule
impl Clone for StatusChecksRule
Source§fn clone(&self) -> StatusChecksRule
fn clone(&self) -> StatusChecksRule
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 StatusChecksRule
impl Debug for StatusChecksRule
impl Eq for StatusChecksRule
Source§impl<'ʄ> Facet<'ʄ> for StatusChecksRule
impl<'ʄ> Facet<'ʄ> for StatusChecksRule
Source§impl PartialEq for StatusChecksRule
impl PartialEq for StatusChecksRule
impl StructuralPartialEq for StatusChecksRule
Auto Trait Implementations§
impl Freeze for StatusChecksRule
impl RefUnwindSafe for StatusChecksRule
impl Send for StatusChecksRule
impl Sync for StatusChecksRule
impl Unpin for StatusChecksRule
impl UnsafeUnpin for StatusChecksRule
impl UnwindSafe for StatusChecksRule
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.