pub struct InstallReport {
pub shell: Shell,
pub target_path: PathBuf,
pub file_change: FileChange,
pub activation: ActivationReport,
pub affected_locations: Vec<PathBuf>,
}Expand description
Structured result of a completion install operation.
The report is designed for caller-side rendering. shellcomp does not print user-facing output
directly.
Fields§
§shell: ShellTarget shell.
target_path: PathBufFinal script path that was written.
file_change: FileChangeOutcome of writing the completion file.
This only describes the completion script file itself. Startup wiring state is described by
InstallReport::activation.
activation: ActivationReportActivation details for the installed completion.
affected_locations: Vec<PathBuf>Files touched or referenced while completing the operation.
This includes InstallReport::target_path and may also include a managed shell startup
file such as ~/.bashrc or ~/.zshrc.
Trait Implementations§
Source§impl Clone for InstallReport
impl Clone for InstallReport
Source§fn clone(&self) -> InstallReport
fn clone(&self) -> InstallReport
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 InstallReport
impl Debug for InstallReport
Source§impl PartialEq for InstallReport
impl PartialEq for InstallReport
impl Eq for InstallReport
impl StructuralPartialEq for InstallReport
Auto Trait Implementations§
impl Freeze for InstallReport
impl RefUnwindSafe for InstallReport
impl Send for InstallReport
impl Sync for InstallReport
impl Unpin for InstallReport
impl UnsafeUnpin for InstallReport
impl UnwindSafe for InstallReport
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