pub struct ReproduceTry {
pub n: u32,
pub per_statement: Vec<TryStatement>,
pub discarded: Option<String>,
pub run_id: Option<String>,
pub usage: Option<Value>,
pub rejection: Option<String>,
}Expand description
One try of the reproduction author.
Fields§
§n: u321, 2, …
per_statement: Vec<TryStatement>Per statement.
discarded: Option<String>Why the whole try was discarded (wrote outside tests, …).
run_id: Option<String>The author’s run.
usage: Option<Value>Its tokens.
rejection: Option<String>The person’s reason for rejecting the reproductions before it.
Trait Implementations§
Source§impl Clone for ReproduceTry
impl Clone for ReproduceTry
Source§impl Debug for ReproduceTry
impl Debug for ReproduceTry
Source§impl<'de> Deserialize<'de> for ReproduceTry
impl<'de> Deserialize<'de> for ReproduceTry
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 ReproduceTry
Source§impl JsonSchema for ReproduceTry
impl JsonSchema for ReproduceTry
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 ReproduceTry
impl PartialEq for ReproduceTry
Source§impl Serialize for ReproduceTry
impl Serialize for ReproduceTry
impl StructuralPartialEq for ReproduceTry
Auto Trait Implementations§
impl Freeze for ReproduceTry
impl RefUnwindSafe for ReproduceTry
impl Send for ReproduceTry
impl Sync for ReproduceTry
impl Unpin for ReproduceTry
impl UnsafeUnpin for ReproduceTry
impl UnwindSafe for ReproduceTry
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