pub enum BranchRule {
Team,
Solo,
}Expand description
Which correct-branch rule set applies — selected by gkit.solo. The two are
mutually exclusive: exactly one runs. This is the single place that decides
“when to use which rule”.
Variants§
Team
Default (gkit.solo off). Flags only a local branch unmerged into base
(your own unfinished work); others’ branches on the remote are ignored.
Solo
gkit.solo on. Flags any feature branch on the remote (for a solo
developer every remote branch is theirs, so a leftover one = unfinished
work). The original strict behavior.
Implementations§
Trait Implementations§
Source§impl Clone for BranchRule
impl Clone for BranchRule
Source§fn clone(&self) -> BranchRule
fn clone(&self) -> BranchRule
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 BranchRule
impl Debug for BranchRule
Source§impl PartialEq for BranchRule
impl PartialEq for BranchRule
Source§fn eq(&self, other: &BranchRule) -> bool
fn eq(&self, other: &BranchRule) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BranchRule
impl Eq for BranchRule
impl StructuralPartialEq for BranchRule
Auto Trait Implementations§
impl Freeze for BranchRule
impl RefUnwindSafe for BranchRule
impl Send for BranchRule
impl Sync for BranchRule
impl Unpin for BranchRule
impl UnsafeUnpin for BranchRule
impl UnwindSafe for BranchRule
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.