pub struct InstallReport {
pub agent_id: String,
pub hook_path: PathBuf,
pub settings_path: PathBuf,
pub already_installed: bool,
pub paths_written: Vec<PathBuf>,
pub preview: Option<String>,
}Expand description
What an install (or dry-run) actually did. The paths_written field is
empty when dry_run was true.
Fields§
§agent_id: String§hook_path: PathBuf§settings_path: PathBuf§already_installed: bool§paths_written: Vec<PathBuf>§preview: Option<String>In dry-run mode, the rendered hook-script content for preview.
Populated by install() when ctx.dry_run is true and identical to
render_hook_script(ctx). None outside dry-run.
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 moreAuto 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