pub enum ContextKind {
Constitution,
Plan,
Story,
Task,
Rejection,
RetryDigest,
Issue,
Scenario,
Note,
Comment,
TestLayout,
}Expand description
What a part is. A new kind is a new variant, never a free string.
Variants§
Constitution
The project’s rules.
Plan
The unit’s plan.
Story
The requirement’s text (a bug’s triad).
Task
The task.
Rejection
A person’s rejection reason.
RetryDigest
The verifier’s digest of an earlier attempt.
Issue
A GitHub issue’s title and body (untrusted).
Scenario
A requirement’s acceptance scenario.
Note
A person’s note to an author call (Ask Again, a reading).
Comment
A person’s review comment, with its anchor’s quote.
TestLayout
The test layout speccoder detected from the checkout.
Trait Implementations§
Source§impl Clone for ContextKind
impl Clone for ContextKind
impl Copy for ContextKind
Source§impl Debug for ContextKind
impl Debug for ContextKind
Source§impl<'de> Deserialize<'de> for ContextKind
impl<'de> Deserialize<'de> for ContextKind
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 ContextKind
Source§impl JsonSchema for ContextKind
impl JsonSchema for ContextKind
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 Ord for ContextKind
impl Ord for ContextKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ContextKind
impl PartialEq for ContextKind
Source§impl PartialOrd for ContextKind
impl PartialOrd for ContextKind
Source§impl Serialize for ContextKind
impl Serialize for ContextKind
impl StructuralPartialEq for ContextKind
Auto Trait Implementations§
impl Freeze for ContextKind
impl RefUnwindSafe for ContextKind
impl Send for ContextKind
impl Sync for ContextKind
impl Unpin for ContextKind
impl UnsafeUnpin for ContextKind
impl UnwindSafe for ContextKind
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