pub struct CleanCandidate {
pub ticket_id: String,
pub ticket_title: String,
pub branch: String,
pub worktree: Option<PathBuf>,
pub reason: String,
pub local_branch_exists: bool,
pub branch_merged: bool,
pub remote_branch_exists: bool,
pub updated_at: Option<DateTime<Utc>>,
}Fields§
§ticket_id: String§ticket_title: String§branch: String§worktree: Option<PathBuf>§reason: String§local_branch_exists: bool§branch_merged: bool§remote_branch_exists: boolAuthoritative: is the branch present on origin right now? Computed
via a single git ls-remote at the start of candidate enumeration.
Used so remote deletion only attempts pushes that can succeed,
avoiding noisy “remote ref does not exist” errors.
updated_at: Option<DateTime<Utc>>Ticket’s updated_at from frontmatter; None if absent. Used by
--older-than to filter candidates by age.
Auto Trait Implementations§
impl Freeze for CleanCandidate
impl RefUnwindSafe for CleanCandidate
impl Send for CleanCandidate
impl Sync for CleanCandidate
impl Unpin for CleanCandidate
impl UnsafeUnpin for CleanCandidate
impl UnwindSafe for CleanCandidate
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