pub struct MigrationReport {
pub applied: bool,
pub actions: Vec<FoldAction>,
}Expand description
The fold plan (dry-run) or record (applied) over one repo’s tickets.
Fields§
§applied: boolfalse = dry-run: the actions are what WOULD happen; no byte was
written. true = the FoldAction::Fold entries were applied.
actions: Vec<FoldAction>Per-ticket decisions, sorted by slug for a deterministic report.
Implementations§
Source§impl MigrationReport
impl MigrationReport
Sourcepub fn dirty_skips(&self) -> usize
pub fn dirty_skips(&self) -> usize
Tickets skipped because their .md has uncommitted changes.
Sourcepub fn already_migrated(&self) -> usize
pub fn already_migrated(&self) -> usize
Tickets that already carried a frontmatter state: key.
Sourcepub fn left_alone(&self) -> usize
pub fn left_alone(&self) -> usize
Tickets with nothing terminal to fold (no sidecar / pipeline sidecar).
Trait Implementations§
Source§impl Clone for MigrationReport
impl Clone for MigrationReport
Source§fn clone(&self) -> MigrationReport
fn clone(&self) -> MigrationReport
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 MigrationReport
impl Debug for MigrationReport
impl Eq for MigrationReport
Source§impl PartialEq for MigrationReport
impl PartialEq for MigrationReport
impl StructuralPartialEq for MigrationReport
Auto Trait Implementations§
impl Freeze for MigrationReport
impl RefUnwindSafe for MigrationReport
impl Send for MigrationReport
impl Sync for MigrationReport
impl Unpin for MigrationReport
impl UnsafeUnpin for MigrationReport
impl UnwindSafe for MigrationReport
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