pub struct LookupAnswer {
pub id: String,
pub key: KeyHit,
pub lang: String,
pub field: Option<String>,
pub text: String,
pub card: String,
pub full_card: String,
pub decided_by: DecidedBy,
}Expand description
What the table answered.
Fields§
§id: StringThe record id.
key: KeyHit§lang: StringThe slot language used.
field: Option<String>The field chosen (None = the whole card).
text: StringThe answer text (answer mode).
card: StringWhat context mode prepends (context_excerpt): the whole card
when no field was selected, else its first sentence and the field.
full_card: StringThe whole card text.
decided_by: DecidedByWho sent the request to the record: the router’s decision, or the
key_first policy over a backbone decision.
Implementations§
Trait Implementations§
Source§impl Clone for LookupAnswer
impl Clone for LookupAnswer
Source§impl Debug for LookupAnswer
impl Debug for LookupAnswer
impl Eq for LookupAnswer
Source§impl PartialEq for LookupAnswer
impl PartialEq for LookupAnswer
impl StructuralPartialEq for LookupAnswer
Auto Trait Implementations§
impl Freeze for LookupAnswer
impl RefUnwindSafe for LookupAnswer
impl Send for LookupAnswer
impl Sync for LookupAnswer
impl Unpin for LookupAnswer
impl UnsafeUnpin for LookupAnswer
impl UnwindSafe for LookupAnswer
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.