pub struct Evaluation {
pub result: Option<String>,
pub error: Option<String>,
pub stash: Option<String>,
}Expand description
The outcome of an evaluation: either a rendered result or an error detail.
Fields§
§result: Option<String>JSON-encoded evaluationResult string, when evaluation succeeded.
error: Option<String>error.message, when the context or template was malformed.
stash: Option<String>JSON-encoded stash string threaded from the context.
Auto Trait Implementations§
impl Freeze for Evaluation
impl RefUnwindSafe for Evaluation
impl Send for Evaluation
impl Sync for Evaluation
impl Unpin for Evaluation
impl UnsafeUnpin for Evaluation
impl UnwindSafe for Evaluation
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