pub struct UnderstoodQuestion {
pub unit: UnitId,
pub words: WordRange,
pub workflow: Option<WorkflowKey>,
pub record: Option<TargetToken>,
pub subjects: Vec<String>,
pub basis: AnswerBasis,
pub topic: QuestionTopic,
pub continues_previous: bool,
}Expand description
A question the user asked.
Fields§
§unit: UnitIdIts unit.
words: WordRangeIts words.
workflow: Option<WorkflowKey>The workflow it is about.
record: Option<TargetToken>The record it is about.
subjects: Vec<String>The declared subjects it asks about.
basis: AnswerBasisWhich state answers it.
topic: QuestionTopicWhat kind of thing it asks.
continues_previous: boolWhether it follows up the assistant’s last message.
Trait Implementations§
Source§impl Clone for UnderstoodQuestion
impl Clone for UnderstoodQuestion
Source§impl Debug for UnderstoodQuestion
impl Debug for UnderstoodQuestion
Source§impl<'de> Deserialize<'de> for UnderstoodQuestion
impl<'de> Deserialize<'de> for UnderstoodQuestion
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
impl Eq for UnderstoodQuestion
Source§impl PartialEq for UnderstoodQuestion
impl PartialEq for UnderstoodQuestion
Source§impl Serialize for UnderstoodQuestion
impl Serialize for UnderstoodQuestion
impl StructuralPartialEq for UnderstoodQuestion
Auto Trait Implementations§
impl Freeze for UnderstoodQuestion
impl RefUnwindSafe for UnderstoodQuestion
impl Send for UnderstoodQuestion
impl Sync for UnderstoodQuestion
impl Unpin for UnderstoodQuestion
impl UnsafeUnpin for UnderstoodQuestion
impl UnwindSafe for UnderstoodQuestion
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.