pub struct TargetOutcome {
pub platform: Platform,
pub dest_dir: PathBuf,
pub action: TargetAction,
pub files_written: usize,
pub installed_checksum: Option<String>,
pub discarded_paths: Vec<PathBuf>,
}Expand description
The outcome for a single target platform after apply.
Both written and skipped targets appear in Report::targets; the action
field distinguishes them. Use Report::applied() / Report::skipped() for
filtered views.
Fields§
§platform: Platform§dest_dir: PathBuf§action: TargetAction§files_written: usizeNumber of files written to disk (0 for skipped targets).
installed_checksum: Option<String>Checksum recorded in the lock file. Some for written targets, None
for skipped targets (no lock entry was touched).
discarded_paths: Vec<PathBuf>Concrete target files whose local changes were discarded by --force.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TargetOutcome
impl RefUnwindSafe for TargetOutcome
impl Send for TargetOutcome
impl Sync for TargetOutcome
impl Unpin for TargetOutcome
impl UnsafeUnpin for TargetOutcome
impl UnwindSafe for TargetOutcome
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