pub struct Shadowing {
pub default_branch: String,
pub governing_rule: Option<String>,
pub declared: bool,
}Expand description
Effective protection of the default branch.
Fields§
§default_branch: StringThe branch this observation concerns.
governing_rule: Option<String>The first matching rule in the forge’s response order.
declared: boolWhether the governing rule is declared by the configuration.
Implementations§
Trait Implementations§
impl Eq for Shadowing
impl StructuralPartialEq for Shadowing
Auto Trait Implementations§
impl Freeze for Shadowing
impl RefUnwindSafe for Shadowing
impl Send for Shadowing
impl Sync for Shadowing
impl Unpin for Shadowing
impl UnsafeUnpin for Shadowing
impl UnwindSafe for Shadowing
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.