pub struct MigrationResult {
pub output: String,
pub changed_count: usize,
pub sections_changed: Vec<String>,
}Expand description
Result of a migration operation.
Fields§
§output: StringThe migrated TOML document as a string.
changed_count: usizeNumber of top-level keys or sub-keys modified (added or removed) during migration.
sections_changed: Vec<String>Names of top-level sections that were modified (added or removed).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MigrationResult
impl RefUnwindSafe for MigrationResult
impl Send for MigrationResult
impl Sync for MigrationResult
impl Unpin for MigrationResult
impl UnsafeUnpin for MigrationResult
impl UnwindSafe for MigrationResult
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