pub struct Reproduction {
pub statement: String,
pub file: String,
pub test: String,
pub source: Source,
pub baseline: Vec<RedClass>,
pub digest: String,
pub argv: Vec<String>,
pub final_: Final,
pub revert: Revert,
}Expand description
One reproduction test.
Fields§
§statement: StringThe statement it reproduces (E1) — or, for a test of an
Unchanged statement, that one (U1).
file: StringProject-relative test file.
test: StringThe test’s name.
source: SourceWho wrote it.
baseline: Vec<RedClass>Its class on the untouched code, run twice.
digest: Stringsha256:<hex> of its content.
argv: Vec<String>The command that runs only it.
final_: FinalOn the final tree.
revert: RevertAgainst the revert candidate.
Implementations§
Source§impl Reproduction
impl Reproduction
Trait Implementations§
Source§impl Clone for Reproduction
impl Clone for Reproduction
Source§impl Debug for Reproduction
impl Debug for Reproduction
Source§impl<'de> Deserialize<'de> for Reproduction
impl<'de> Deserialize<'de> for Reproduction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Reproduction
Source§impl JsonSchema for Reproduction
impl JsonSchema for Reproduction
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for Reproduction
impl PartialEq for Reproduction
Source§impl Serialize for Reproduction
impl Serialize for Reproduction
impl StructuralPartialEq for Reproduction
Auto Trait Implementations§
impl Freeze for Reproduction
impl RefUnwindSafe for Reproduction
impl Send for Reproduction
impl Sync for Reproduction
impl Unpin for Reproduction
impl UnsafeUnpin for Reproduction
impl UnwindSafe for Reproduction
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