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,
}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.
Trait Implementations§
Source§impl<'a> Clone for ReproduceParts<'a>
impl<'a> Clone for ReproduceParts<'a>
Auto Trait Implementations§
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