pub struct InstallSummary {
pub project_root: PathBuf,
pub packages_installed: u32,
pub packages_already_present: u32,
pub packages_up_to_date: u32,
pub plugin_hooks_skipped: u32,
pub packages_removed: u32,
pub bins_installed: u32,
pub files_deployed: u64,
pub no_dev: bool,
pub download_bytes: u64,
pub autoload_ms: u64,
pub warnings: Vec<String>,
}Expand description
What happened. Returned to the caller for machine emission and a one-line text summary.
Fields§
§project_root: PathBuf§packages_installed: u32§packages_already_present: u32§packages_up_to_date: u32Packages whose dist reference matched installed.json and whose vendor
directory already existed — skipped entirely (no download, no
extraction).
plugin_hooks_skipped: u32Composer-plugin packages installed like any other package (Composer
installs them too), but whose install-time hooks are NOT run — this
installer never executes plugin PHP. Their files ARE extracted, so
packages that happen to be type: composer-plugin yet provide
runtime code (e.g. php-http/discovery) are not left missing.
packages_removed: u32Packages that were in the previous installed.json but are no longer in
the lock file (or excluded by --no-dev) and had their vendor directory
removed.
bins_installed: u32§files_deployed: u64Files copied into the project root by the native
magento/magento-composer-installer deploy (extra.map). Zero for
non-Magento projects.
no_dev: bool§download_bytes: u64On-disk bytes of the dist archives fetched this run (cache hits contribute nothing).
autoload_ms: u64Wall-clock of the autoload dump, in milliseconds. 0 when the freshness
marker let the dump be skipped entirely.
warnings: Vec<String>Soft preflight findings — one per Composer plugin, one for a non-empty
scripts section, plus any Magento deploy warnings. Callers typically
print these as warning: … lines.
Trait Implementations§
Source§impl Clone for InstallSummary
impl Clone for InstallSummary
Auto Trait Implementations§
impl Forget for InstallSummary
impl Freeze for InstallSummary
impl Move for InstallSummary
impl RefUnwindSafe for InstallSummary
impl Send for InstallSummary
impl Sync for InstallSummary
impl Unpin for InstallSummary
impl UnsafeUnpin for InstallSummary
impl UnwindSafe for InstallSummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more