pub struct Run {
pub action: Option<i64>,
pub status: &'static str,
pub results: Vec<Value>,
pub messages: Vec<String>,
}Expand description
The run of one rule, handed to Host::finish_run.
Fields§
§action: Option<i64>What Host::begin_run returned.
status: &'static strok or failed.
results: Vec<Value>One per then-action: {do, ok, message} or {do, ok: false, error}.
messages: Vec<String>One per then-action: its message, or VERB failed: ERROR.
Trait Implementations§
impl StructuralPartialEq for Run
Auto Trait Implementations§
impl Forget for Run
impl Freeze for Run
impl Move for Run
impl RefUnwindSafe for Run
impl Send for Run
impl Sync for Run
impl Unpin for Run
impl UnsafeUnpin for Run
impl UnwindSafe for Run
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