pub struct BranchOptions<'a> {
pub workspace_root: &'a PathBuf,
pub manifest: &'a Manifest,
pub name: Option<&'a str>,
pub delete: bool,
pub move_commits: bool,
pub repos_filter: Option<&'a [String]>,
pub group_filter: Option<&'a [String]>,
pub json: bool,
pub include_parked: bool,
}Expand description
Options for the branch command
Fields§
§workspace_root: &'a PathBuf§manifest: &'a Manifest§name: Option<&'a str>§delete: bool§move_commits: bool§repos_filter: Option<&'a [String]>§group_filter: Option<&'a [String]>§json: bool§include_parked: boolAlso move clones parked on a branch other than the one the workspace expects. Without it a workspace-wide create or move leaves them where they are, and names them.
Auto Trait Implementations§
impl<'a> Freeze for BranchOptions<'a>
impl<'a> RefUnwindSafe for BranchOptions<'a>
impl<'a> Send for BranchOptions<'a>
impl<'a> Sync for BranchOptions<'a>
impl<'a> Unpin for BranchOptions<'a>
impl<'a> UnsafeUnpin for BranchOptions<'a>
impl<'a> UnwindSafe for BranchOptions<'a>
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more