pub struct InstallHint {
pub url: String,
pub command: Option<String>,
}Expand description
Where a user gets a harness that isn’t on the machine yet.
This crate discovers and runs agents; it never installs them. A harness that depends on an external CLI says so here and the host renders it, so “not installed” is a next step rather than a dead end.
Fields§
§url: StringWhere to get it. Always present — every agent has a home page, while only some have a one-liner that works on every platform.
command: Option<String>A copy-pasteable command, when one exists for every supported platform.
Implementations§
Trait Implementations§
Source§impl Clone for InstallHint
impl Clone for InstallHint
Source§fn clone(&self) -> InstallHint
fn clone(&self) -> InstallHint
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 InstallHint
impl Debug for InstallHint
Auto Trait Implementations§
impl Freeze for InstallHint
impl RefUnwindSafe for InstallHint
impl Send for InstallHint
impl Sync for InstallHint
impl Unpin for InstallHint
impl UnsafeUnpin for InstallHint
impl UnwindSafe for InstallHint
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