pub struct QuestionInput<'a> {
pub words: Span,
pub records: Vec<&'a RecordBrief>,
pub subjects: Vec<&'a str>,
}Expand description
One question and what it may be about.
Fields§
§words: SpanIts words.
records: Vec<&'a RecordBrief>The records it may be about, listed as r1, r2…
subjects: Vec<&'a str>The subjects it may be about.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for QuestionInput<'a>
impl<'a> Clone for QuestionInput<'a>
Auto Trait Implementations§
impl<'a> Freeze for QuestionInput<'a>
impl<'a> RefUnwindSafe for QuestionInput<'a>
impl<'a> Send for QuestionInput<'a>
impl<'a> Sync for QuestionInput<'a>
impl<'a> Unpin for QuestionInput<'a>
impl<'a> UnsafeUnpin for QuestionInput<'a>
impl<'a> UnwindSafe for QuestionInput<'a>
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