pub enum FormatKind {
Speckit,
Openspec,
Kiro,
}Expand description
A spec-driven format.
Variants§
Speckit
GitHub Spec Kit (.specify/, specs/NNN-name/).
Openspec
OpenSpec (openspec/changes/<id>/).
Kiro
Kiro and cc-sdd (.kiro/specs/<name>/).
Implementations§
Source§impl FormatKind
impl FormatKind
Source§impl FormatKind
impl FormatKind
Sourcepub fn is_reference(&self) -> bool
pub fn is_reference(&self) -> bool
Whether this is the reference format (Spec Kit).
Trait Implementations§
Source§impl Clone for FormatKind
impl Clone for FormatKind
impl Copy for FormatKind
Source§impl Debug for FormatKind
impl Debug for FormatKind
Source§impl Default for FormatKind
impl Default for FormatKind
Source§impl<'de> Deserialize<'de> for FormatKind
impl<'de> Deserialize<'de> for FormatKind
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
Source§impl Display for FormatKind
impl Display for FormatKind
impl Eq for FormatKind
Source§impl FromStr for FormatKind
impl FromStr for FormatKind
Source§impl Hash for FormatKind
impl Hash for FormatKind
Source§impl JsonSchema for FormatKind
impl JsonSchema for FormatKind
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 FormatKind
impl PartialEq for FormatKind
Source§impl Serialize for FormatKind
impl Serialize for FormatKind
impl StructuralPartialEq for FormatKind
Auto Trait Implementations§
impl Freeze for FormatKind
impl RefUnwindSafe for FormatKind
impl Send for FormatKind
impl Sync for FormatKind
impl Unpin for FormatKind
impl UnsafeUnpin for FormatKind
impl UnwindSafe for FormatKind
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