pub struct RecordedRunInRepositoryCall {
pub repo_dir: String,
pub name: String,
pub args: Vec<String>,
pub opts: Option<ExecStreamedOpts>,
}Expand description
One recorded call to MockCommandRunner::run_in_repository, captured
regardless of whether an expectation matched it. Exists because
Matcher::Predicate only sees (name, args), not opts – Options
and ExecStreamedOpts carry fields (env, in particular) several
PORT_NOTES.md files flagged as needing inspection that the
expectation-matching system can’t offer directly. See
MockCommandRunner::recorded_run_in_repository_calls.
Fields§
§repo_dir: String§name: String§args: Vec<String>§opts: Option<ExecStreamedOpts>Trait Implementations§
Source§impl Clone for RecordedRunInRepositoryCall
impl Clone for RecordedRunInRepositoryCall
Source§fn clone(&self) -> RecordedRunInRepositoryCall
fn clone(&self) -> RecordedRunInRepositoryCall
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RecordedRunInRepositoryCall
impl RefUnwindSafe for RecordedRunInRepositoryCall
impl Send for RecordedRunInRepositoryCall
impl Sync for RecordedRunInRepositoryCall
impl Unpin for RecordedRunInRepositoryCall
impl UnsafeUnpin for RecordedRunInRepositoryCall
impl UnwindSafe for RecordedRunInRepositoryCall
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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