pub struct StopTurn {
pub request: String,
pub commands: Vec<String>,
pub test_ran: bool,
pub outputs: Vec<String>,
pub final_message: String,
}Expand description
The turn a stop ends, read from the runner’s transcript: the person’s last request, the shell commands since it, the output of the latest test run (or of the last commands when none ran), and the final message.
Fields§
§request: String§commands: Vec<String>§test_ran: bool§outputs: Vec<String>§final_message: StringImplementations§
Trait Implementations§
impl StructuralPartialEq for StopTurn
Auto Trait Implementations§
impl Freeze for StopTurn
impl RefUnwindSafe for StopTurn
impl Send for StopTurn
impl Sync for StopTurn
impl Unpin for StopTurn
impl UnsafeUnpin for StopTurn
impl UnwindSafe for StopTurn
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more