pub struct DependencyNode {
pub tool_spec: ToolSpec,
pub available: bool,
pub installed_version: Option<String>,
pub state: NodeState,
}
Expand description
Node in the dependency graph
Fields§
§tool_spec: ToolSpec
Tool specification
available: bool
Whether this tool is currently available
installed_version: Option<String>
Installed version (if available)
state: NodeState
Installation state
Trait Implementations§
Source§impl Clone for DependencyNode
impl Clone for DependencyNode
Source§fn clone(&self) -> DependencyNode
fn clone(&self) -> DependencyNode
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 DependencyNode
impl RefUnwindSafe for DependencyNode
impl Send for DependencyNode
impl Sync for DependencyNode
impl Unpin for DependencyNode
impl UnwindSafe for DependencyNode
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