pub enum Request {
Activate(Indice),
ActivateContext {
id: Indice,
context: Indice,
},
Complete(Indice),
Context(Indice),
Exit,
Interrupt,
Quit(Indice),
Search(String),
}
Variants§
Activate(Indice)
Activate on the selected item.
ActivateContext
Activate a context item on an item.
Complete(Indice)
Perform a tab completion from the selected item.
Context(Indice)
Request for any context options this result may have.
Exit
Request to end the service.
Interrupt
Requests to cancel any active searches.
Quit(Indice)
Request to close the selected item.
Search(String)
Perform a search in our database.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Request
impl<'de> Deserialize<'de> for Request
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
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