pub enum OracleState {
None,
Written,
NotRed,
Failed,
Ambiguous,
Frozen,
Lapsed,
FrozenElsewhere,
}Expand description
Where a requirement’s oracle is.
Variants§
None
No tests written yet.
Written
Written; some are red.
NotRed
Written; none is red, so none can be frozen.
Failed
The author call failed.
Ambiguous
Two readings disagree: the person chooses or rewords.
Frozen
Frozen with the approval, on the current wording.
Lapsed
Frozen on an earlier wording: the run writes tests anew.
FrozenElsewhere
review.json names a frozen set this machine does not have.
Implementations§
Trait Implementations§
Source§impl Clone for OracleState
impl Clone for OracleState
impl Copy for OracleState
Source§impl Debug for OracleState
impl Debug for OracleState
Source§impl<'de> Deserialize<'de> for OracleState
impl<'de> Deserialize<'de> for OracleState
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 OracleState
Source§impl JsonSchema for OracleState
impl JsonSchema for OracleState
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 OracleState
impl PartialEq for OracleState
Source§impl Serialize for OracleState
impl Serialize for OracleState
impl StructuralPartialEq for OracleState
Auto Trait Implementations§
impl Freeze for OracleState
impl RefUnwindSafe for OracleState
impl Send for OracleState
impl Sync for OracleState
impl Unpin for OracleState
impl UnsafeUnpin for OracleState
impl UnwindSafe for OracleState
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