pub struct DependencyStatus {
pub dependency: Dependency,
pub found: bool,
pub installed_version: Option<String>,
pub version_satisfied: Option<bool>,
}Expand description
Result of checking a single dependency.
Fields§
§dependency: Dependency§found: bool§installed_version: Option<String>Installed version string (if detected via --version).
version_satisfied: Option<bool>Whether the installed version satisfies the constraint.
None if no constraint was specified or version couldn’t be determined.
Trait Implementations§
Source§impl Clone for DependencyStatus
impl Clone for DependencyStatus
Source§fn clone(&self) -> DependencyStatus
fn clone(&self) -> DependencyStatus
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 DependencyStatus
impl RefUnwindSafe for DependencyStatus
impl Send for DependencyStatus
impl Sync for DependencyStatus
impl Unpin for DependencyStatus
impl UnsafeUnpin for DependencyStatus
impl UnwindSafe for DependencyStatus
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