pub struct CleanedWorktree {
pub slug: String,
pub branch: String,
pub pr_number: Option<u32>,
pub pr_state: String,
}Expand description
Result of cleaning a single worktree.
Fields§
§slug: StringFeature slug.
branch: StringGit branch name.
pr_number: Option<u32>PR number if found.
pr_state: StringPR state (e.g., “MERGED”, “CLOSED”).
Trait Implementations§
Source§impl Clone for CleanedWorktree
impl Clone for CleanedWorktree
Source§fn clone(&self) -> CleanedWorktree
fn clone(&self) -> CleanedWorktree
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CleanedWorktree
impl RefUnwindSafe for CleanedWorktree
impl Send for CleanedWorktree
impl Sync for CleanedWorktree
impl Unpin for CleanedWorktree
impl UnsafeUnpin for CleanedWorktree
impl UnwindSafe for CleanedWorktree
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