pub struct Done<R: Serialize> {
pub report: R,
pub lines: Vec<String>,
pub next: Vec<String>,
}Expand description
What one action returns: its report, the human lines, and the next steps, rendered by the handler.
Fields§
§report: RThe machine report.
lines: Vec<String>The human report, one line each.
next: Vec<String>The next steps the human report names.
Trait Implementations§
Auto Trait Implementations§
impl<R> Forget for Done<R>
impl<R> Freeze for Done<R>where
R: Freeze,
impl<R> Move for Done<R>
impl<R> RefUnwindSafe for Done<R>where
R: RefUnwindSafe,
impl<R> Send for Done<R>where
R: Send,
impl<R> Sync for Done<R>where
R: Sync,
impl<R> Unpin for Done<R>where
R: Unpin,
impl<R> UnsafeUnpin for Done<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for Done<R>where
R: UnwindSafe,
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