pub struct Workspace {
pub path: PathBuf,
pub issue: IssueRef,
pub created: bool,
}Expand description
An open (or newly created) git worktree for a given issue.
Fields§
§path: PathBufAbsolute path to the worktree directory.
issue: IssueRefThe issue this workspace was opened for.
created: booltrue if this call created the worktree; false if it already existed.
Implementations§
Auto Trait Implementations§
impl Freeze for Workspace
impl RefUnwindSafe for Workspace
impl Send for Workspace
impl Sync for Workspace
impl Unpin for Workspace
impl UnsafeUnpin for Workspace
impl UnwindSafe for Workspace
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