pub struct SkillSearchRequest {
pub query: String,
pub results: Vec<SkillSearchResult>,
pub reply: Sender<Option<String>>,
}Expand description
Phase 1: tool → TUI. User selects a slug or cancels.
reply carries Some(slug) if the user confirmed a choice, or None
to cancel. Not PartialEq because oneshot::Sender is not PartialEq.
Fields§
§query: String§results: Vec<SkillSearchResult>§reply: Sender<Option<String>>Auto Trait Implementations§
impl !RefUnwindSafe for SkillSearchRequest
impl !UnwindSafe for SkillSearchRequest
impl Freeze for SkillSearchRequest
impl Send for SkillSearchRequest
impl Sync for SkillSearchRequest
impl Unpin for SkillSearchRequest
impl UnsafeUnpin for SkillSearchRequest
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.