pub struct NewChoices {
pub idea: String,
pub stack: Option<Stack>,
pub format: Option<String>,
pub extensions: Vec<String>,
pub no_preset: bool,
}Expand description
What the person chose; with the folder, everything the plan follows from.
Fields§
§idea: StringWhat they are building, verbatim (kept for the first feature).
stack: Option<Stack>The stack; None: the suggestion.
format: Option<String>The spec format (speckit, openspec); None: Spec Kit.
extensions: Vec<String>Spec Kit extensions.
no_preset: boolLeave out the speccoder Spec Kit preset.
Trait Implementations§
Source§impl Clone for NewChoices
impl Clone for NewChoices
Source§impl Debug for NewChoices
impl Debug for NewChoices
Source§impl Default for NewChoices
impl Default for NewChoices
Source§impl<'de> Deserialize<'de> for NewChoices
impl<'de> Deserialize<'de> for NewChoices
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 NewChoices
Source§impl JsonSchema for NewChoices
impl JsonSchema for NewChoices
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 NewChoices
impl PartialEq for NewChoices
Source§impl Serialize for NewChoices
impl Serialize for NewChoices
impl StructuralPartialEq for NewChoices
Auto Trait Implementations§
impl Freeze for NewChoices
impl RefUnwindSafe for NewChoices
impl Send for NewChoices
impl Sync for NewChoices
impl Unpin for NewChoices
impl UnsafeUnpin for NewChoices
impl UnwindSafe for NewChoices
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