pub struct AnswerRow {
pub answers: BTreeMap<String, QuestionAnswer>,
}Expand description
One row of a decision batch: answers keyed by question id.
Fields§
§answers: BTreeMap<String, QuestionAnswer>Per-question answers. Every declared question must be present — abstain
explicitly (QuestionAnswer::abstained) rather than omitting the key.
Trait Implementations§
impl StructuralPartialEq for AnswerRow
Auto Trait Implementations§
impl Freeze for AnswerRow
impl RefUnwindSafe for AnswerRow
impl Send for AnswerRow
impl Sync for AnswerRow
impl Unpin for AnswerRow
impl UnsafeUnpin for AnswerRow
impl UnwindSafe for AnswerRow
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