pub enum ContributionKind {
Gate,
Observer,
View,
Skill,
McpServer,
Command,
HookOffer,
}Expand description
What kind of thing an extension contributes.
Variants§
Gate
A [hooks] gate.
Observer
A [hooks] observer.
View
A [views] view.
Skill
A skills/<name>/SKILL.md.
McpServer
An mcp.json server.
Command
A Spec Kit command.
HookOffer
A Spec Kit hook offered at its step.
Trait Implementations§
Source§impl Clone for ContributionKind
impl Clone for ContributionKind
impl Copy for ContributionKind
Source§impl Debug for ContributionKind
impl Debug for ContributionKind
Source§impl<'de> Deserialize<'de> for ContributionKind
impl<'de> Deserialize<'de> for ContributionKind
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 ContributionKind
Source§impl JsonSchema for ContributionKind
impl JsonSchema for ContributionKind
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 ContributionKind
impl PartialEq for ContributionKind
Source§impl Serialize for ContributionKind
impl Serialize for ContributionKind
impl StructuralPartialEq for ContributionKind
Auto Trait Implementations§
impl Forget for ContributionKind
impl Freeze for ContributionKind
impl Move for ContributionKind
impl RefUnwindSafe for ContributionKind
impl Send for ContributionKind
impl Sync for ContributionKind
impl Unpin for ContributionKind
impl UnsafeUnpin for ContributionKind
impl UnwindSafe for ContributionKind
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