pub struct MigrateManagedBlocksReport {
pub shell: Shell,
pub target_path: PathBuf,
pub location: Option<PathBuf>,
pub legacy_change: FileChange,
pub managed_change: FileChange,
pub affected_locations: Vec<PathBuf>,
}Expand description
Structured result of migrating legacy managed startup blocks into shellcomp.
Fields§
§shell: ShellTarget shell.
target_path: PathBufCompletion file path associated with the migrated managed block.
location: Option<PathBuf>Startup file updated during migration, when the shell uses one.
legacy_change: FileChangeOutcome of removing any caller-provided legacy blocks.
managed_change: FileChangeOutcome of writing the shellcomp managed block.
affected_locations: Vec<PathBuf>Files touched or inspected while completing migration.
Trait Implementations§
Source§impl Clone for MigrateManagedBlocksReport
impl Clone for MigrateManagedBlocksReport
Source§fn clone(&self) -> MigrateManagedBlocksReport
fn clone(&self) -> MigrateManagedBlocksReport
Returns a duplicate of the value. Read more
1.0.0 · 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 MigrateManagedBlocksReport
impl Debug for MigrateManagedBlocksReport
impl Eq for MigrateManagedBlocksReport
impl StructuralPartialEq for MigrateManagedBlocksReport
Auto Trait Implementations§
impl Freeze for MigrateManagedBlocksReport
impl RefUnwindSafe for MigrateManagedBlocksReport
impl Send for MigrateManagedBlocksReport
impl Sync for MigrateManagedBlocksReport
impl Unpin for MigrateManagedBlocksReport
impl UnsafeUnpin for MigrateManagedBlocksReport
impl UnwindSafe for MigrateManagedBlocksReport
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