pub enum FoldAction {
Fold {
slug: String,
note: Option<String>,
},
AlreadyMigrated {
slug: String,
},
SkipDirty {
slug: String,
},
NoTerminalSidecar {
slug: String,
sidecar: Option<TicketState>,
},
}Expand description
One ticket’s fold decision.
Variants§
Fold
Sidecar done → frontmatter state: done, carrying the sidecar note
into state-note: when present (the note is carried, never parsed —
“Superseded by …” prose stays prose).
AlreadyMigrated
Already carries a frontmatter state: key — untouched (this is what
makes a re-run idempotent).
SkipDirty
The .md is dirty in git: never rewrite a file an in-flight editor or agent has open. Named loudly in the report; the operator folds it by re-running once the in-flight work lands.
NoTerminalSidecar
Nothing terminal to fold: no sidecar at all (None), or a
non-terminal pipeline sidecar — pipeline states are not operator
lifecycle and remain sidecar-owned by design.
Trait Implementations§
Source§impl Clone for FoldAction
impl Clone for FoldAction
Source§fn clone(&self) -> FoldAction
fn clone(&self) -> FoldAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FoldAction
impl Debug for FoldAction
impl Eq for FoldAction
Source§impl PartialEq for FoldAction
impl PartialEq for FoldAction
impl StructuralPartialEq for FoldAction
Auto Trait Implementations§
impl Freeze for FoldAction
impl RefUnwindSafe for FoldAction
impl Send for FoldAction
impl Sync for FoldAction
impl Unpin for FoldAction
impl UnsafeUnpin for FoldAction
impl UnwindSafe for FoldAction
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