pub struct LuaTestRun {
pub success: bool,
pub stdout: String,
pub stderr: String,
}Expand description
How one airsl test run ended.
§Examples
use agentstacks::port::binary::LuaTestRun;
let run = LuaTestRun { success: true, stdout: "2 passed\n".to_owned(), stderr: String::new() };
assert!(run.success);Fields§
§success: boolWhether airsl exited with status zero.
stdout: StringWhat it printed on standard output, as lossy UTF-8.
stderr: StringWhat it printed on standard error, as lossy UTF-8.
Trait Implementations§
Source§impl Clone for LuaTestRun
impl Clone for LuaTestRun
Source§impl Debug for LuaTestRun
impl Debug for LuaTestRun
impl Eq for LuaTestRun
Source§impl PartialEq for LuaTestRun
impl PartialEq for LuaTestRun
impl StructuralPartialEq for LuaTestRun
Auto Trait Implementations§
impl Forget for LuaTestRun
impl Freeze for LuaTestRun
impl Move for LuaTestRun
impl RefUnwindSafe for LuaTestRun
impl Send for LuaTestRun
impl Sync for LuaTestRun
impl Unpin for LuaTestRun
impl UnsafeUnpin for LuaTestRun
impl UnwindSafe for LuaTestRun
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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