pub struct ReviewParts<'a> {Show 15 fields
pub bundle: Value,
pub requirement: Value,
pub scenarios: &'a [ScenarioRef],
pub files: &'a [String],
pub manifest: &'a str,
pub notes: &'a [String],
pub again: Option<(&'a str, &'a str)>,
pub instructions: &'a [Instruction],
pub context: &'a ContextManifest,
pub sample: u8,
pub test_layout: Option<&'a str>,
pub suite: &'a [SuiteTest],
pub interface: &'a [SuiteTest],
pub commands: &'a [String],
pub refused: &'a [String],
}Expand description
What a review-time author call is given. The requirement, its scenarios and the person’s notes are the person’s; the file list is the checkout’s.
Fields§
§bundle: ValueA bundle for the requirement (no task: task.id is req-<key>).
requirement: Value{key, title, text}.
scenarios: &'a [ScenarioRef]Its scenarios.
files: &'a [String]The checkout’s files.
manifest: &'a strThe manifest file’s text.
notes: &'a [String]The person’s notes: rejection reasons, comments, a reading.
again: Option<(&'a str, &'a str)>Asking again for one test: its path and content.
instructions: &'a [Instruction]The repository’s instructions.
context: &'a ContextManifestEvery part the call is handed, as listed (constitution VIII).
sample: u8Which independent sample this is (1, 2): two samples are two runs.
test_layout: Option<&'a str>The test layout speccoder detected, as the author reads it.
suite: &'a [SuiteTest]The project’s tests on the code the requirement names.
interface: &'a [SuiteTest]The code’s declarations, as it is.
commands: &'a [String]The commands a test of the story runs (its interface is a command line): as a person types them.
refused: &'a [String]Why speccoder refused the earlier answer.
Trait Implementations§
Source§impl<'a> Clone for ReviewParts<'a>
impl<'a> Clone for ReviewParts<'a>
Auto Trait Implementations§
impl<'a> Freeze for ReviewParts<'a>
impl<'a> RefUnwindSafe for ReviewParts<'a>
impl<'a> Send for ReviewParts<'a>
impl<'a> Sync for ReviewParts<'a>
impl<'a> Unpin for ReviewParts<'a>
impl<'a> UnsafeUnpin for ReviewParts<'a>
impl<'a> UnwindSafe for ReviewParts<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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> ⓘ
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> ⓘ
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