pub enum LookupMode {
Answer,
Context,
Off,
}Expand description
What a request routed to a lookup record does with the card.
Variants§
Answer
The table answers: the selected field’s text (or the whole card); nothing is generated. The default.
Context
The card is prepended to the user message
(context_prompt) and the BACKBONE generates.
Off
The table is ignored: the backbone runs on the plain message.
Implementations§
Trait Implementations§
Source§impl Clone for LookupMode
impl Clone for LookupMode
impl Copy for LookupMode
Source§impl Debug for LookupMode
impl Debug for LookupMode
Source§impl Default for LookupMode
impl Default for LookupMode
impl Eq for LookupMode
Source§impl PartialEq for LookupMode
impl PartialEq for LookupMode
impl StructuralPartialEq for LookupMode
Auto Trait Implementations§
impl Freeze for LookupMode
impl RefUnwindSafe for LookupMode
impl Send for LookupMode
impl Sync for LookupMode
impl Unpin for LookupMode
impl UnsafeUnpin for LookupMode
impl UnwindSafe for LookupMode
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.