pub struct InstallReport {
pub packages: Vec<InstalledPkg>,
pub direct: usize,
pub transitive: usize,
pub warnings: Vec<String>,
}Expand description
Result of install.
Fields§
§packages: Vec<InstalledPkg>Every installed package, direct and transitive, sorted by name (the same order as the lockfile).
direct: usizeNumber of [deps.<name>] entries in the consumer manifest.
transitive: usizeNumber of packages pulled in only through another package’s
mlua-pkg.toml (packages.len() - direct).
warnings: Vec<String>Non-fatal observations (e.g. requested tag vs author manifest version mismatch). Empty when everything lined up.
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 (const: unstable) · 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 Default for InstallReport
impl Default for InstallReport
Source§fn default() -> InstallReport
fn default() -> InstallReport
Returns the “default value” for a type. Read more
impl Eq for InstallReport
Source§impl PartialEq for InstallReport
impl PartialEq 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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> ⓘ
Converts
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> ⓘ
Converts
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