pub struct BranchPrefix {
pub name: &'static str,
pub nested: bool,
pub dots: bool,
}Expand description
A branch prefix, and what may follow it.
Fields§
§name: &'static str§nested: boolOne more name after the first (prog/<slug>/<id>): a programme ticket’s
branch is named by the programme and the ticket, and the programme
skill’s scanner finds in-flight tickets by that shape. Every other
prefix takes a single name.
dots: boolDots suit version-bump branches (chore/duro-1.50.50) and would only be
noise elsewhere. Git already rejects the dangerous forms (.., trailing
.lock).
Auto Trait Implementations§
impl Forget for BranchPrefix
impl Freeze for BranchPrefix
impl Move for BranchPrefix
impl RefUnwindSafe for BranchPrefix
impl Send for BranchPrefix
impl Sync for BranchPrefix
impl Unpin for BranchPrefix
impl UnsafeUnpin for BranchPrefix
impl UnwindSafe for BranchPrefix
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