pub struct DisabledTool {
pub identity: String,
pub reason: String,
}Expand description
A disabled tool (post-install tampering / missing file / compile failure / not compiled in), with a reason the panel can report directly.
Fields§
§identity: Stringidentity key plugin.{plugin}.{tool}.
reason: Stringhuman-readable reason (shown directly by the panel / /tools).
Trait Implementations§
Source§impl Clone for DisabledTool
impl Clone for DisabledTool
Source§impl Debug for DisabledTool
impl Debug for DisabledTool
impl Eq for DisabledTool
Source§impl PartialEq for DisabledTool
impl PartialEq for DisabledTool
impl StructuralPartialEq for DisabledTool
Auto Trait Implementations§
impl Forget for DisabledTool
impl Freeze for DisabledTool
impl Move for DisabledTool
impl RefUnwindSafe for DisabledTool
impl Send for DisabledTool
impl Sync for DisabledTool
impl Unpin for DisabledTool
impl UnsafeUnpin for DisabledTool
impl UnwindSafe for DisabledTool
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.