pub struct PaneSpec {
pub branch: String,
pub worktree: String,
pub cli_command: String,
}Expand description
Specification for a single pane: which branch/worktree to cd into and which CLI to run.
Fields§
§branch: StringBranch name (e.g. feat/auth). Used for the pane title.
worktree: StringAbsolute path to the git worktree directory.
cli_command: StringThe CLI command to execute inside the pane.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PaneSpec
impl RefUnwindSafe for PaneSpec
impl Send for PaneSpec
impl Sync for PaneSpec
impl Unpin for PaneSpec
impl UnsafeUnpin for PaneSpec
impl UnwindSafe for PaneSpec
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<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