pub struct OracleTest {
pub path: String,
pub content: String,
pub scenarios: Vec<String>,
pub red_class: String,
pub red: bool,
pub authored_by: AuthoredBy,
pub edited_by: Option<String>,
}Expand description
One visible test as the review shows it.
Fields§
§path: StringProject-relative path.
content: StringIts content (a visible test: the implementer reads it too).
scenarios: Vec<String>The scenarios it cites (never empty).
red_class: StringIts red class on the current tree (assertion, absent_symbol,
passed, build_error, flaky, …).
red: boolRed: it can be frozen.
Who wrote it.
edited_by: Option<String>The person who edited it.
Trait Implementations§
Source§impl Clone for OracleTest
impl Clone for OracleTest
Source§impl Debug for OracleTest
impl Debug for OracleTest
Source§impl<'de> Deserialize<'de> for OracleTest
impl<'de> Deserialize<'de> for OracleTest
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 OracleTest
Source§impl JsonSchema for OracleTest
impl JsonSchema for OracleTest
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 OracleTest
impl PartialEq for OracleTest
Source§impl Serialize for OracleTest
impl Serialize for OracleTest
impl StructuralPartialEq for OracleTest
Auto Trait Implementations§
impl Freeze for OracleTest
impl RefUnwindSafe for OracleTest
impl Send for OracleTest
impl Sync for OracleTest
impl Unpin for OracleTest
impl UnsafeUnpin for OracleTest
impl UnwindSafe for OracleTest
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