pub enum Answer {
Unit,
Bool(bool),
Value(Value),
Values(Vec<Value>),
Error(EvalError),
}Expand description
A datamodel answer.
Variants§
Unit
Success without a value.
Bool(bool)
A boolean (conditions, is_location).
Value(Value)
A value.
Values(Vec<Value>)
A list of values (foreach_items).
Error(EvalError)
An evaluation error.
Trait Implementations§
impl StructuralPartialEq for Answer
Auto Trait Implementations§
impl Forget for Answer
impl Freeze for Answer
impl Move for Answer
impl RefUnwindSafe for Answer
impl Send for Answer
impl Sync for Answer
impl Unpin for Answer
impl UnsafeUnpin for Answer
impl UnwindSafe for Answer
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