pub struct CleanResult {
pub ids_assigned: Vec<IdAssignment>,
pub dates_assigned: Vec<DateAssignment>,
pub duplicates_resolved: Vec<DuplicateResolution>,
pub tasks_archived: Vec<ArchiveRecord>,
pub dangling_deps: Vec<DanglingDep>,
pub broken_refs: Vec<BrokenRef>,
pub sections_reconciled: Vec<SectionReconcile>,
pub suggestions: Vec<Suggestion>,
}Expand description
Result of a clean operation
Fields§
§ids_assigned: Vec<IdAssignment>IDs assigned to tasks that were missing them
dates_assigned: Vec<DateAssignment>Added dates filled in
duplicates_resolved: Vec<DuplicateResolution>Duplicate IDs resolved (reassigned)
tasks_archived: Vec<ArchiveRecord>Tasks archived from done sections
dangling_deps: Vec<DanglingDep>Dangling dependency references
broken_refs: Vec<BrokenRef>Broken file references (ref/spec)
sections_reconciled: Vec<SectionReconcile>Top-level tasks moved to the correct section based on state
suggestions: Vec<Suggestion>Suggestions (e.g., all subtasks done → suggest parent done)
Trait Implementations§
Source§impl Debug for CleanResult
impl Debug for CleanResult
Source§impl Default for CleanResult
impl Default for CleanResult
Source§fn default() -> CleanResult
fn default() -> CleanResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CleanResult
impl RefUnwindSafe for CleanResult
impl Send for CleanResult
impl Sync for CleanResult
impl Unpin for CleanResult
impl UnsafeUnpin for CleanResult
impl UnwindSafe for CleanResult
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> 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