pub struct BranchPrefix {
pub name: &'static str,
pub dots: bool,
}Expand description
A branch prefix, and whether dots are allowed after it.
Fields§
§name: &'static str§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 Freeze 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