pub struct MockResponse {
pub exit_code: i32,
pub stdout: String,
}Expand description
Mock response for a shell command.
Fields§
§exit_code: i32§stdout: StringImplementations§
Auto Trait Implementations§
impl Freeze for MockResponse
impl RefUnwindSafe for MockResponse
impl Send for MockResponse
impl Sync for MockResponse
impl Unpin for MockResponse
impl UnsafeUnpin for MockResponse
impl UnwindSafe for MockResponse
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