pub struct Question {
pub ref_id: String,
pub question: String,
pub kind: QuestionKind,
pub answer: String,
pub evidence: String,
pub reasoning: String,
}Expand description
One question an issue puts to the viewer, as the drafting agent read it.
Fields§
§ref_id: StringThe handle spar printed beside the mention it came from.
question: StringThe question, quoted from the issue, or as close to it as reads alone.
kind: QuestionKind§answer: StringThe reply as it would be posted. For a question that is the viewer’s, a starting point for them, which spar never posts.
evidence: StringWhat the answer rests on: paths with lines, or links.
reasoning: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Question
impl<'de> Deserialize<'de> for Question
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 Question
impl RefUnwindSafe for Question
impl Send for Question
impl Sync for Question
impl Unpin for Question
impl UnsafeUnpin for Question
impl UnwindSafe for Question
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