pub struct ResolvedShortcut {
pub full_command: Vec<String>,
pub spec: CachedSpec,
pub command: CachedCommand,
pub confidence: u8,
}Expand description
Represents a resolved command shortcut
Fields§
§full_command: Vec<String>The full command path that should be executed
spec: CachedSpecThe spec containing the command
command: CachedCommandThe resolved command
confidence: u8Confidence score (0-100, higher is better)
Trait Implementations§
Source§impl Clone for ResolvedShortcut
impl Clone for ResolvedShortcut
Source§fn clone(&self) -> ResolvedShortcut
fn clone(&self) -> ResolvedShortcut
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 ResolvedShortcut
impl RefUnwindSafe for ResolvedShortcut
impl Send for ResolvedShortcut
impl Sync for ResolvedShortcut
impl Unpin for ResolvedShortcut
impl UnwindSafe for ResolvedShortcut
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