pub struct ToolStatus {
pub name: String,
pub display_name: Option<String>,
pub optional: bool,
pub installed: bool,
pub version: Option<String>,
pub required_version: Option<String>,
pub outdated: bool,
pub installable: bool,
}Expand description
Detection and installation status for one configured tool.
Fields§
§name: StringCanonical component name.
display_name: Option<String>Optional human-readable component name.
optional: boolWhether interactive selection may omit the tool.
installed: boolWhether configured detection currently succeeds.
version: Option<String>Detected version text, when the check produces one.
required_version: Option<String>Version offered by the current configuration, when it is comparable.
outdated: boolWhether the detected version is older than the configured offered version.
installable: boolWhether the configuration supplies an installation backend.
Trait Implementations§
Source§impl Clone for ToolStatus
impl Clone for ToolStatus
Source§fn clone(&self) -> ToolStatus
fn clone(&self) -> ToolStatus
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 ToolStatus
impl Debug for ToolStatus
impl Eq for ToolStatus
Source§impl PartialEq for ToolStatus
impl PartialEq for ToolStatus
Source§impl Serialize for ToolStatus
impl Serialize for ToolStatus
impl StructuralPartialEq for ToolStatus
Auto Trait Implementations§
impl Freeze for ToolStatus
impl RefUnwindSafe for ToolStatus
impl Send for ToolStatus
impl Sync for ToolStatus
impl Unpin for ToolStatus
impl UnsafeUnpin for ToolStatus
impl UnwindSafe for ToolStatus
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.