pub struct ReproduceParts<'a> {
pub set: &'a str,
pub bundle: Value,
pub statements: Value,
pub want: &'a [String],
pub files: &'a [String],
pub manifest: &'a str,
pub visible: &'a [(String, String)],
pub rejections: &'a [String],
pub issue: Option<(&'a str, &'a str)>,
pub instructions: &'a [Instruction],
pub context: &'a ContextManifest,
pub test_layout: Option<&'a str>,
}Expand description
What a bug’s reproduction (or held-out) author is given. The statements and the person’s rejections are the person’s; the file list is the worktree’s; an issue’s text is untrusted. Every part is listed in the call’s context manifest, journaled with it.
Fields§
§set: &'a strreproduce or reproduce_held_out.
bundle: ValueThe task’s bundle.
statements: ValueEvery statement of the triad ({id, text}).
want: &'a [String]The ids to write a test for.
files: &'a [String]The project’s files and manifest.
manifest: &'a strThe manifest file’s text.
visible: &'a [(String, String)]The visible reproductions (for held-out variants).
rejections: &'a [String]The person’s rejection reasons, oldest first.
issue: Option<(&'a str, &'a str)>The issue’s title and body, when the bug came from one.
instructions: &'a [Instruction]The repository’s instructions.
context: &'a ContextManifestWhat the call is handed, as listed.
test_layout: Option<&'a str>The test layout speccoder detected, as the author reads it.
Trait Implementations§
Source§impl<'a> Clone for ReproduceParts<'a>
impl<'a> Clone for ReproduceParts<'a>
Auto Trait Implementations§
impl<'a> Forget for ReproduceParts<'a>
impl<'a> Freeze for ReproduceParts<'a>
impl<'a> RefUnwindSafe for ReproduceParts<'a>
impl<'a> Send for ReproduceParts<'a>
impl<'a> Sync for ReproduceParts<'a>
impl<'a> Unpin for ReproduceParts<'a>
impl<'a> UnsafeUnpin for ReproduceParts<'a>
impl<'a> UnwindSafe for ReproduceParts<'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
Mutably borrows from an owned value. Read more
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> ⓘ
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 moreSource§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.
Creates a shared type from an unshared type.