pub struct Place {
pub cli: String,
pub mcp: String,
pub installed: Option<String>,
pub connect: Option<String>,
}Expand description
How one copy of the skill finds the programs, and what reaching the application takes on its target.
Fields§
§cli: StringThe command line, relative to the skill’s folder.
mcp: StringThe MCP server, relative to the skill’s folder.
installed: Option<String>Where an installed copy of the application keeps the command line, when its packages install to a known place.
connect: Option<String>What the programs need before they reach the application, besides it running, as Markdown.
Implementations§
Source§impl Place
impl Place
Sourcepub fn beside_bin(app: &Application, windows: bool) -> Place
pub fn beside_bin(app: &Application, windows: bool) -> Place
The programs in bin/ beside skills/, as every build lays them
out; windows spells the paths as Windows does, with .exe.
pub fn installed(self, path: impl Into<String>) -> Place
pub fn connect(self, text: impl Into<String>) -> Place
Trait Implementations§
impl Eq for Place
impl StructuralPartialEq for Place
Auto Trait Implementations§
impl Freeze for Place
impl RefUnwindSafe for Place
impl Send for Place
impl Sync for Place
impl Unpin for Place
impl UnsafeUnpin for Place
impl UnwindSafe for Place
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.