pub struct Rulesets {
pub mode: Mode,
pub rulesets: BTreeMap<RulesetName, Ruleset>,
}Expand description
Desired rulesets of a repository.
Fields§
§mode: ModeWhether rulesets that are not declared are kept or deleted.
rulesets: BTreeMap<RulesetName, Ruleset>The rulesets keyed by name.
Implementations§
Trait Implementations§
impl Eq for Rulesets
impl StructuralPartialEq for Rulesets
Auto Trait Implementations§
impl Freeze for Rulesets
impl RefUnwindSafe for Rulesets
impl Send for Rulesets
impl Sync for Rulesets
impl Unpin for Rulesets
impl UnsafeUnpin for Rulesets
impl UnwindSafe for Rulesets
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.